hyper_rustls

Trait ConfigBuilderExt

Source
pub trait ConfigBuilderExt {
    // Required method
    fn with_webpki_roots(self) -> ConfigBuilder<ClientConfig, WantsClientCert>;
}
Expand description

Methods for configuring roots

This adds methods (gated by crate features) for easily configuring TLS server roots a rustls ClientConfig will trust.

Required Methods§

Source

fn with_webpki_roots(self) -> ConfigBuilder<ClientConfig, WantsClientCert>

This configures the webpki roots, which are Mozilla’s set of trusted roots as packaged by webpki-roots.

Implementations on Foreign Types§

Source§

impl ConfigBuilderExt for ConfigBuilder<ClientConfig, WantsVerifier>

Implementors§