bokeh.server.connection¶
Provides the ServerSession
class.
- class ServerConnection(protocol: Protocol, socket: WSHandler, application_context: ApplicationContext, session: ServerSession)[source]¶
Wraps a websocket connection to a client.
Public Data Attributes:
session
application_context
protocol
Public Methods:
__init__
(protocol, socket, ...)Allow the session to be discarded and don't get change notifications from it anymore
ok
(message)error
(message, text)send_patch_document
(event)Sends a PATCH-DOC message, returning a Future that's completed when it's written out.
send_ping
()