enum HttpProxy
source · line 14public
public enum HttpProxy
The selected route for a request: direct, HTTP proxy, or SOCKS5.
variant Http
source · line 22public
Http(HttpProxyEndpoint)
Uses the supplied HTTP or HTTPS proxy endpoint.
parameter _
source · line 22public
HttpProxyEndpoint
field _
source · line 22public
HttpProxyEndpoint
variant Direct
source · line 18public
Direct
Connects directly to the origin.
variant Socks5
source · line 26public
Socks5(HttpSocks5Endpoint)
Uses the supplied SOCKS5 endpoint and resolution policy.
parameter _
source · line 26public
HttpSocks5Endpoint
field _
source · line 26public
HttpSocks5Endpoint
function equals
source · line 14publiccompiler-derived
operator fun equals(other: HttpProxy): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: HttpProxyEndpoint, HttpSocks5Endpoint.