Expand description

async-tls integration.

Functions

  • Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required.
  • Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required and using the given WebSocket configuration.
  • Creates a WebSocket handshake from a request and a stream, upgrading the stream to TLS if required and using the given connector.
  • 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

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