Module ntex::ws[][src]

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.

Structs

Reason for closing the connection

WebSockets protocol codec

WebSocket frame parser.

Stream ws protocol decoder.

Stream ws protocol decoder.

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.

Websocket protocol errors

Websocket service errors

Functions