Manage WebSocket Messages

Hi everyone,

I’m currently working on a app based on Bokeh 2.1 version.

I have been making some test with websocket on Bokeh Serve.

Reading about it on the documentation (, I’ve found out that there are some pre-configured messages while making the WebSocket connection.

Is there any way to configure/ avoid sending this messages? Both ‘SERVER-INFO-REPLY’ and ‘PULL-DOC’ are non desired in this specific project and i would like to de-activate them.

Thanks in advance for your time and replies.


You can’t disable them right now. I’m working on something that would allow you to plug in your own transport. But there’s no timeline on that. “When it’s done.”

Thanks a lot for your quick reply! I will try a workaround this time and stay tuned for further updates.

1 Like