Expand description
Connection helper.
Modules§
Enums§
- Connector
 - A connector that can be used when establishing connections, allowing to control whether
native-tlsorrustlsis used to create a TLS connection. Or TLS can be disabled with thePlainvariant. 
Functions§
- client_
tls  - Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required.
 - client_
tls_ with_ config  - The same as 
client_tls()but one can specify a websocket configuration, and an optional connector. If no connector is specified, a default one will be created.