Handler for close event, no matter if error, timeout or graceful close. You may not use WebSocket after this event.
0 = no compression, 1 = shared compressor, 2 = dedicated compressor. See C++ project.
Handler for when WebSocket backpressure drains. Check ws.getBufferedAmount().
Maximum amount of seconds that may pass without sending or getting a message.
Maximum length of allowed backpressure per socket when publishing messages. Slow receivers, WebSockets, will be disconnected if needed.
Maximum length of received message.
Handler for a WebSocket message.
Handler for new WebSocket connection. WebSocket is valid from open to close, no errors.
Handler for received ping control message.
Handler for received pong control message.
Generated using TypeDoc
A structure holding settings and handlers for a WebSocket route handler.