#[repr(C)]pub struct aws_http_proxy_options {
pub connection_type: aws_http_proxy_connection_type,
pub host: aws_byte_cursor,
pub port: u16,
pub tls_options: *const aws_tls_connection_options,
pub proxy_strategy: *mut aws_http_proxy_strategy,
pub auth_type: aws_http_proxy_authentication_type,
pub auth_username: aws_byte_cursor,
pub auth_password: aws_byte_cursor,
}
Expand description
Options for http proxy server usage
Fields
connection_type: aws_http_proxy_connection_type
Type of proxy connection to make
host: aws_byte_cursor
Proxy host to connect to
port: u16
Port to make the proxy connection to
tls_options: *const aws_tls_connection_options
Optional. TLS configuration for the Local <-> Proxy connection Must be distinct from the the TLS options in the parent aws_http_connection_options struct
proxy_strategy: *mut aws_http_proxy_strategy
Optional Advanced option that allows the user to create a custom strategy that gives low-level control of certain logical flows within the proxy logic.
For tunneling proxies it allows custom retry and adaptive negotiation of CONNECT requests. For forwarding proxies it allows custom request transformations.
auth_type: aws_http_proxy_authentication_type
@Deprecated - What type of proxy authentication to use, if any. Replaced by instantiating a proxy_strategy
auth_username: aws_byte_cursor
@Deprecated - Optional user name to use for basic authentication Replaced by instantiating a proxy_strategy via aws_http_proxy_strategy_new_basic_auth()
auth_password: aws_byte_cursor
@Deprecated - Optional password to use for basic authentication Replaced by instantiating a proxy_strategy via aws_http_proxy_strategy_new_basic_auth()
Trait Implementations
sourceimpl Clone for aws_http_proxy_options
impl Clone for aws_http_proxy_options
sourcefn clone(&self) -> aws_http_proxy_options
fn clone(&self) -> aws_http_proxy_options
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more