HTTPResponseType

public protocol HTTPResponseType

Represents a response from an HTTP request.

  • The type of the body.

    Declaration

    Swift

    associatedtype BodyType
  • The body of the response.

    Declaration

    Swift

    var body: BodyType { get }
  • The headers of the response.

    Declaration

    Swift

    var headers: [String : String] { get }