Struct hyper_rustls::TlsClient [−][src]
pub struct TlsClient { pub cfg: Arc<ClientConfig>, }
Fields
cfg: Arc<ClientConfig>
Methods
impl TlsClient
[src]
impl TlsClient
Trait Implementations
impl SslClient for TlsClient
[src]
impl SslClient for TlsClient
type Stream = WrappedStream
The protected stream.
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<WrappedStream>
[src]
fn wrap_client(&self, stream: HttpStream, host: &str) -> Result<WrappedStream>
Wrap a client stream with SSL.