### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `html.base.zmqhandlers`

Tornado handlers for WebSocket <-> ZMQ sockets.

Authors:

- Brian Granger

## 2 Classes

class `IPython.html.base.zmqhandlers.``ZMQStreamHandler`(application, request, **kwargs)

  Bases: `tornado.websocket.WebSocketHandler`

  `allow_draft76`()

    Allow draft 76, until browsers such as Safari update to RFC 6455.

    This has been disabled by default in tornado in release 2.2.0, and support will be removed in later versions.

  `clear_cookie`(*args, **kwargs)

    meaningless for websockets

  `same_origin`()

    Check to see that origin and host match in the headers.

class `IPython.html.base.zmqhandlers.``AuthenticatedZMQStreamHandler`(application, request, **kwargs)

  Bases: `IPython.html.base.zmqhandlers.ZMQStreamHandler`, `IPython.html.base.handlers.IPythonHandler`

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »