data class Route
The concrete route used by a connection to reach an abstract origin server. When creating a connection the client has many options:
Each route is a specific selection of these options.
Route(address: Address, proxy: Proxy, inetSocketAddress: InetSocketAddress)
The concrete route used by a connection to reach an abstract origin server. When creating a connection the client has many options: |
fun address(): Address |
|
fun proxy(): Proxy
Returns the Proxy of this route. |
|
fun requiresTunnel(): Boolean
Returns true if this route tunnels HTTPS through an HTTP proxy. See RFC 2817, Section 5.2. |
|
fun socketAddress(): InetSocketAddress |
|
fun toString(): String |