bokeh.server.connection#
提供 ServerSession 类。
- class ServerConnection(protocol: 协议, socket: WSHandler, application_context: ApplicationContext, session: ServerSession)[source]#
封装一个与客户端的websocket连接。
- send_patch_document(event: DocumentPatchedEvent) Awaitable[None][source]#
发送一个PATCH-DOC消息,返回一个在写入完成时完成的Future。