Module websocket_util::wrap
source · Expand description
Functionality for wrapping a WebSocket stream, adding automated support for handling of control messages.
Structs
- A type helping with the construction of
Wrapper
objects. - A wrapped WebSocket stream that handles responding to pings with pongs, sending of pings to check for liveness of server, and filtering out of WebSocket control messages in the process.
Enums
- A message received over a
Wrapper
.