Request

class Request(var uri: URI, var method: String, var headers: Map<String, String>, var body: ByteArray?)

Request is the HTTP request to be proxied.

Constructors

Link copied to clipboard
constructor(uri: URI, method: String, headers: Map<String, String>, body: ByteArray?)

Properties

Link copied to clipboard

the proxy request body

Link copied to clipboard

the proxy request headers

Link copied to clipboard

the proxy request method

Link copied to clipboard

the proxy request URI

Functions

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