_Requestable
public protocol _Requestable: _Configurable
Represents a Requestable
for URLSession.
Create custom Requestable
protocol HTTPBinGETService: _Requestable {
var path: String? = "get"
}
-
path
Default implementationThe path relative to base URL.
Default Implementation
nil
Declaration
Swift
var path: String?
-
urlRequest
Extension methodUndocumented
Declaration
Swift
public var urlRequest: URLRequest