pub struct HttpClientConfig {
pub tls_config: ClientConfig,
}Fields§
§tls_config: ClientConfigImplementations§
Source§impl HttpClientConfig
impl HttpClientConfig
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new instance with a default set of trusted root CAs.
By default, the client trusts the system native root certs in addition to Mozilla root certificates provided by the
webpki_roots crate.
Auto Trait Implementations§
impl Freeze for HttpClientConfig
impl !RefUnwindSafe for HttpClientConfig
impl Send for HttpClientConfig
impl Sync for HttpClientConfig
impl Unpin for HttpClientConfig
impl UnsafeUnpin for HttpClientConfig
impl !UnwindSafe for HttpClientConfig
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