Module ntex::ws

source ·
Expand description

WebSocket protocol support.

To setup a WebSocket, first do web socket handshake then on success convert Payload into a WsStream stream and then use WsWriter to communicate with the peer.

Modules§

  • WebSocket protocol related errors.

Structs§

Enums§

  • Status code used to indicate why an endpoint is closing the WebSocket connection.
  • WebSocket frame
  • WebSocket continuation item
  • WebSocket message
  • Operation codes as part of rfc6455.

Functions§