#[repr(C)]pub struct aws_http_connection_manager_options {Show 19 fields
pub bootstrap: *mut aws_client_bootstrap,
pub initial_window_size: usize,
pub socket_options: *const aws_socket_options,
pub tls_connection_options: *const aws_tls_connection_options,
pub http2_prior_knowledge: bool,
pub monitoring_options: *const aws_http_connection_monitoring_options,
pub host: aws_byte_cursor,
pub port: u16,
pub initial_settings_array: *mut aws_http2_setting,
pub num_initial_settings: usize,
pub max_closed_streams: usize,
pub http2_conn_manual_window_management: bool,
pub proxy_options: *const aws_http_proxy_options,
pub proxy_ev_settings: *const proxy_env_var_settings,
pub max_connections: usize,
pub shutdown_complete_user_data: *mut c_void,
pub shutdown_complete_callback: aws_http_connection_manager_shutdown_complete_fn,
pub enable_read_back_pressure: bool,
pub max_connection_idle_in_milliseconds: u64,
}
Fields
bootstrap: *mut aws_client_bootstrap
initial_window_size: usize
socket_options: *const aws_socket_options
tls_connection_options: *const aws_tls_connection_options
Options to create secure (HTTPS) connections. For secure connections, set “h2” in the ALPN string for HTTP/2, otherwise HTTP/1.1 is used.
Leave NULL to create cleartext (HTTP) connections.
For cleartext connections, use http2_prior_knowledge
(RFC-7540 3.4)
to control whether that are treated as HTTP/1.1 or HTTP/2.
http2_prior_knowledge: bool
Specify whether you have prior knowledge that cleartext (HTTP) connections are HTTP/2 (RFC-7540 3.4). If false, then cleartext connections are treated as HTTP/1.1. It is illegal to set this true when secure connections are being used. Note that upgrading from HTTP/1.1 to HTTP/2 is not supported (RFC-7540 3.2).
monitoring_options: *const aws_http_connection_monitoring_options
host: aws_byte_cursor
port: u16
initial_settings_array: *mut aws_http2_setting
Optional.
HTTP/2 specific configuration. Check struct aws_http2_connection_options
for details of each config
num_initial_settings: usize
max_closed_streams: usize
http2_conn_manual_window_management: bool
proxy_options: *const aws_http_proxy_options
proxy_ev_settings: *const proxy_env_var_settings
max_connections: usize
shutdown_complete_user_data: *mut c_void
shutdown_complete_callback: aws_http_connection_manager_shutdown_complete_fn
enable_read_back_pressure: bool
If set to true, the read back pressure mechanism will be enabled.
max_connection_idle_in_milliseconds: u64
If set to a non-zero value, then connections that stay in the pool longer than the specified timeout will be closed automatically.
Trait Implementations
sourceimpl Clone for aws_http_connection_manager_options
impl Clone for aws_http_connection_manager_options
sourcefn clone(&self) -> aws_http_connection_manager_options
fn clone(&self) -> aws_http_connection_manager_options
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more