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 received message.
Handler for a WebSocket message.
Handler for new WebSocket connection. WebSocket is valid from open to close, no errors.
Generated using TypeDoc
A structure holding settings and handlers for a WebSocket route handler.