Struct hyper::ffi::hyper_clientconn_options
source · pub struct hyper_clientconn_options { /* private fields */ }
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
An options builder to configure an HTTP client connection.
Methods:
- hyper_clientconn_options_new: Creates a new set of HTTP clientconn options to be used in a handshake.
- hyper_clientconn_options_exec: Set the client background task executor.
- hyper_clientconn_options_http2: Set whether to use HTTP2.
- hyper_clientconn_options_set_preserve_header_case: Set whether header case is preserved.
- hyper_clientconn_options_set_preserve_header_order: Set whether header order is preserved.
- hyper_clientconn_options_http1_allow_multiline_headers: Set whether HTTP/1 connections accept obsolete line folding for header values.
- hyper_clientconn_options_free: Free a set of HTTP clientconn options.
Auto Trait Implementations§
impl Freeze for hyper_clientconn_options
impl RefUnwindSafe for hyper_clientconn_options
impl Send for hyper_clientconn_options
impl Sync for hyper_clientconn_options
impl Unpin for hyper_clientconn_options
impl UnwindSafe for hyper_clientconn_options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more