Struct hyper_sync_rustls::TlsClient [−][src]
pub struct TlsClient {
pub cfg: Arc<ClientConfig>,
}Fields
cfg: Arc<ClientConfig>
Methods
impl TlsClient[src]
impl TlsClientTrait Implementations
impl Clone for TlsClient[src]
impl Clone for TlsClientfn clone(&self) -> TlsClient[src]
fn clone(&self) -> TlsClientReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl SslClient for TlsClient[src]
impl SslClient for TlsClienttype Stream = WrappedStream<ClientSession>
The protected stream.
fn wrap_client(
&self,
stream: HttpStream,
host: &str
) -> Result<WrappedStream<ClientSession>>[src]
fn wrap_client(
&self,
stream: HttpStream,
host: &str
) -> Result<WrappedStream<ClientSession>>Wrap a client stream with SSL.