Struct sota::http::tls::TlsClient [] [src]

pub struct TlsClient(_);

TLS client for HTTPS communication.

Methods

impl TlsClient
[src]

fn new() -> TlsClient

Trait Implementations

impl SslClient for TlsClient
[src]

type Stream = TlsStream<HttpStream>

The protected stream.

fn wrap_client(&self, stream: HttpStream, host: &str) -> HyperResult<Self::Stream>

Wrap a client stream with SSL.

impl Debug for TlsClient
[src]

fn fmt(&self, f: &mut Formatter) -> FmtResult

Formats the value using the given formatter.