Response

class Response(val request: Request, var statusCode: Int, var headers: Map<String, String>, var body: ByteArray?)

Response is the HTTP response for a proxy request.

Constructors

Link copied to clipboard
constructor(request: Request, statusCode: Int, headers: Map<String, String>, body: ByteArray?)

Properties

Link copied to clipboard

the proxy response body

Link copied to clipboard

the proxy response headers

Link copied to clipboard

the executed proxy Request

Link copied to clipboard

the proxy response status code

Functions

Link copied to clipboard
open override fun toString(): String