Expand description
Implementation of a WebSocket server.
This can be used in two ways:
- By letting the library perform a HTTP/1.1 Upgrade handshake on an
established stream, via
Builder::accept - By performing the handshake yourself and then using
Builder::serveto let it take over a WebSocket stream
Structs§
- Builder
- Builder for WebSocket server connections.
Constants§
- DISALLOWED_
HEADERS - List of headers added by the server which will cause an error if added by the user: