Response

open class Response<T>
  • Declaration

    Swift

    public let statusCode: Int
  • Declaration

    Swift

    public let header: [String : String]
  • Declaration

    Swift

    public let body: T?
  • Declaration

    Swift

    public init(statusCode: Int, header: [String : String], body: T?)
  • Declaration

    Swift

    public convenience init(response: HTTPURLResponse, body: T?)