Function async_tungstenite::tokio::tls::wrap_stream
source ยท async fn wrap_stream<S>(
socket: S,
domain: String,
connector: Option<TlsConnector>,
mode: Mode,
) -> Result<Stream<TokioAdapter<S>, TokioAdapter<TlsStream<S>>>, Error>