#[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_bootstrapinitial_window_size: usizesocket_options: *const aws_socket_optionstls_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_optionshost: aws_byte_cursorport: u16initial_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: usizemax_closed_streams: usizehttp2_conn_manual_window_management: boolproxy_options: *const aws_http_proxy_optionsproxy_ev_settings: *const proxy_env_var_settingsmax_connections: usizeshutdown_complete_user_data: *mut c_voidshutdown_complete_callback: aws_http_connection_manager_shutdown_complete_fnenable_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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.