Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 763 Bytes

websocket.rst

File metadata and controls

31 lines (21 loc) · 763 Bytes

tornado.websocket --- Bidirectional communication to the browser

.. automodule:: tornado.websocket

   .. autoclass:: WebSocketHandler

   Event handlers
   --------------

   .. automethod:: WebSocketHandler.open
   .. automethod:: WebSocketHandler.on_message
   .. automethod:: WebSocketHandler.on_close
   .. automethod:: WebSocketHandler.select_subprotocol

   Output
   ------

   .. automethod:: WebSocketHandler.write_message
   .. automethod:: WebSocketHandler.close

   Configuration
   -------------

   .. automethod:: WebSocketHandler.allow_draft76
   .. automethod:: WebSocketHandler.get_websocket_scheme

   Other
   -----

   .. automethod:: WebSocketHandler.async_callback