Details

data class Details(val scheme: String, val version: String, val localAddress: String, val localHost: String, val localPort: Int, val remoteAddress: String, val remoteHost: String, val remotePort: Int, val serverHost: String, val serverPort: Int)(source)

Details about a connection that carries a request.

Constructors

Link copied to clipboard
constructor(scheme: String, version: String, localAddress: String, localHost: String, localPort: Int, remoteAddress: String, remoteHost: String, remotePort: Int, serverHost: String, serverPort: Int)

Properties

Link copied to clipboard

The IP address of the client making the request.

Link copied to clipboard

The host name of the client making the request.

Link copied to clipboard

The port of the client making the request.

Link copied to clipboard

The IP address of the server receiving the request.

Link copied to clipboard

The host name of the server receiving the request.

Link copied to clipboard

The port of the server receiving the request.

Link copied to clipboard

The scheme of the connection, e.g. "http" or "https"

Link copied to clipboard

The host name of the server receiving the request. This can be different from the remote host in cases where proxies or load balancers are used.

Link copied to clipboard

The port of the server receiving the request. This can be different from the remote port in cases where proxies or load balancers are used.

Link copied to clipboard

The version of the connection, e.g. "HTTP/1.1"