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