Response

data class Response(var requestMethod: Method, var url: ViaductUrl, var status: UShort, var headers: Headers, var body: ByteArray)

A response from the server.

Constructors

Link copied to clipboard
constructor(requestMethod: Method, url: ViaductUrl, status: UShort, headers: Headers, body: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The body of the response.

Link copied to clipboard

The headers returned with this response.

Link copied to clipboard

The method used to request this response.

Link copied to clipboard

The HTTP Status code of this response.

Link copied to clipboard

The URL of this response.