Service
public protocol Service
Undocumented
-
name
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var name: String { get }
-
version
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var version: Version { get }
-
root
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var root: String { get }
-
path
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var path: String { get }
-
queryItems
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var queryItems: [URLQueryItem]? { get }
-
method
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var method: String? { get }
-
headers
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var headers: [String : String]? { get }
-
body
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var body: Data? { get }
-
buildRequest(with:
Default implementation) Undocumented
Default Implementation
Undocumented
Declaration
Swift
func buildRequest(with credential: Credential) throws -> URLRequest