Provide a low-level wrapper for Tornado Websockets that adds locking and smooths some compatibility issues.
- class WebSocketClientConnectionWrapper(socket: WebSocketClientConnection)#
Used for compatibility across Tornado versions and to add write_lock
- read_message(callback: Callable[..., Any] | None = None) Awaitable[None | str | bytes] #
Read a message from websocket and execute a callback.