Struct hyper_rustls::TlsClient [−][src]
pub struct TlsClient {
pub cfg: Arc<ClientConfig>,
}Fields
cfg: Arc<ClientConfig>
Methods
impl TlsClient[src]
impl TlsClientTrait Implementations
impl SslClient for TlsClient[src]
impl SslClient for TlsClienttype 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.