RxRestClientOptions

public struct RxRestClientOptions

Undocumented

  • Undocumented

    Declaration

    Swift

    public var retryCount: Int
  • Undocumented

    Declaration

    Swift

    public var headers: HTTPHeaders
  • Undocumented

    Declaration

    Swift

    public var maxConcurrentOperationCount: Int
  • Undocumented

    Declaration

    Swift

    public var queryEncoding: ParameterEncoding
  • Undocumented

    Declaration

    Swift

    public var bodyEncoding: ParameterEncoding
  • Undocumented

    Declaration

    Swift

    public var jsonDecoder: JSONDecoder
  • Undocumented

    Declaration

    Swift

    public var jsonEncoder: JSONEncoder
  • Undocumented

    Declaration

    Swift

    public var sessionManager: Session
  • Undocumented

    Declaration

    Swift

    public static let `default`: RxRestClientOptions
  • Append or update header via key/value pair

    Declaration

    Swift

    public mutating func addHeader(key: String, value: String)

    Parameters

    key

    key name of header

    value

    value of specified key

  • Append or update header via HTTPHeader instance

    Declaration

    Swift

    public mutating func addHeader(header: HTTPHeader)

    Parameters

    header

    HTTPHeader