Type Alias async_tungstenite::async_tls::ClientStream

source ·
pub type ClientStream<S> = Stream<S, TlsStream<S>>;
Expand description

Type alias for the stream type of the client_async() functions.

Aliased Type§

enum ClientStream<S> {
    Plain(S),
    Tls(TlsStream<S>),
}

Variants§

§

Plain(S)

Unencrypted socket stream.

§

Tls(TlsStream<S>)

Encrypted socket stream.