This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.server.connection — Bokeh 1.0.2 documentation

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.