Service

public protocol Service

Undocumented

  • name Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var name: String { get }
  • version Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var version: Version { get }
  • root Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var root: String { get }
  • path Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var path: String { get }
  • queryItems Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var queryItems: [URLQueryItem]? { get }
  • method Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var method: String? { get }
  • headers Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var headers: [String : String]? { get }
  • body Default implementation

    Undocumented

    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