Module wrap

Source
Expand description

Functionality for wrapping a WebSocket stream, adding automated support for handling of control messages.

Structs§

Builder
A type helping with the construction of Wrapper objects.
Wrapper
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§

Message
A message received over a Wrapper.