Response

public struct Response : Codable

The Response wrapps the URLResponse and the data received from the server.

  • The Data received for a request.

    Declaration

    Swift

    public var data: Data?
  • The URLResponse for a request.

    Declaration

    Swift

    public var urlResponse: URLResponse { get set }