class HttpProxyEndpoint
source · line 71public
public class HttpProxyEndpoint public constructor(
/**
* The validated http or https proxy authority.
*/
public val url: Url,
/**
* TLS settings for an HTTPS proxy connection, independent of origin TLS.
*/
public val tls: HttpClientTlsConfig = httpClientTlsConfig(),
/**
* Optional preconstructed proxy credentials.
*/
public val authorization: HttpCredentials? = None,
/**
* Proxy authentication providers and retry policy, independent of origin authentication.
*/
public val authentication: HttpAuthenticationOptions = httpAuthenticationOptions()
)
An HTTP/HTTPS proxy authority with independent TLS and authentication configuration. URL userinfo, query, and fragment are rejected.
property authorization
source · line 83public
public val authorization: HttpCredentials? = None
get: public read-only
Optional preconstructed proxy credentials.
property url
source · line 75public
public val url: Url
get: public read-only
The validated http or https proxy authority.
property authentication
source · line 87public
public val authentication: HttpAuthenticationOptions = httpAuthenticationOptions()
get: public read-only
Proxy authentication providers and retry policy, independent of origin authentication.
property tls
source · line 79public
public val tls: HttpClientTlsConfig = httpClientTlsConfig()
get: public read-only
TLS settings for an HTTPS proxy connection, independent of origin TLS.
constructor constructor
source · line 71public
constructor(public val url: Url, public val tls: HttpClientTlsConfig = httpClientTlsConfig(), public val authorization: HttpCredentials? = None, public val authentication: HttpAuthenticationOptions = httpAuthenticationOptions())
parameter url
source · line 75public
public val url: Url
parameter authentication
source · line 87public
public val authentication: HttpAuthenticationOptions = httpAuthenticationOptions()
parameter authorization
source · line 83public
public val authorization: HttpCredentials? = None
parameter tls
source · line 79public
public val tls: HttpClientTlsConfig = httpClientTlsConfig()