API

public protocol API

Undocumented

  • APIKey Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var APIKey: String { get }
  • Undocumented

    Declaration

    Swift

    var baseURL: URL { get }
  • cachePolicy Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var cachePolicy: URLRequest.CachePolicy { get }
  • timeoutInterval Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var timeoutInterval: TimeInterval { get }
  • allHTTPHeaderFields Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var allHTTPHeaderFields: [String : String] { get }
  • buildRequest(url:httpMethod:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func buildRequest(url: URL, httpMethod: HTTPMethod) -> URLRequest