Provide a low-level wrapper for Tornado Websockets that adds locking and smooths some compatibility issues.
WebSocketClientConnectionWrapper
Used for compatibility across Tornado versions and to add write_lock
close
Close the websocket.
read_message
Read a message from websocket and execute a callback.
write_message
Write a message to the websocket after obtaining the appropriate Bokeh Document lock.