bokeh.server.connection

Provides the ServerSession class.

class bokeh.server.connection.ServerConnection(protocol, socket, application_context, session)

Wraps a websocket connection to a client.

detach_session()

Allow the session to be discarded and don’t get change notifications from it anymore

send_patch_document(event)

Sends a PATCH-DOC message, returning a Future that’s completed when it’s written out.