[][src]Module async_tungstenite::async_tls

async-tls integration.

Functions

client_async_tls

Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required.

client_async_tls_with_config

Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required and using the given WebSocket configuration.

client_async_tls_with_connector

Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required and using the given connector.

client_async_tls_with_connector_and_config

Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required and using the given connector and WebSocket configuration.

Type Definitions

ClientStream

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