bokeh.server.connection

Provides the ServerSession class.

class ServerConnection(protocol, socket, application_context, session)[source]

Wraps a websocket connection to a client.

detach_session()[source]

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

send_patch_document(event)[source]

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