[IPython-dev] Notebook websocket change

MinRK benjaminrk at gmail.com
Thu Jan 8 13:04:10 EST 2015


Alternative notebook frontend authors:

There is an upcoming change <https://github.com/ipython/ipython/pull/7389>
to websocket connections to the notebook server. Instead of three
websockets per notebook, one for each zmq channel, there is a single
websocket connection between the server and client. The channel associated
with each message is identified by a channel key in the message dict itself.

Relevant changes:

   - url is /channels instead of /shell, etc.
   - when sending a message, add a channel key with the channel name ('shell',
   'stdin')
   - when receiving a message, check the channel key for routing

-MinRK
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150108/3e25d78e/attachment.html>


More information about the IPython-dev mailing list