Public Member Functions | |
def | allow_draft76 |
def | on_close |
def | on_message |
def | open |
def | send_message |
Public Attributes | |
protocol |
Definition at line 23 of file rosbridge.py.
def rosbridge.RosbridgeWebSocket.allow_draft76 | ( | self | ) |
Override to enable support for the older "draft76" protocol. The draft76 version of the websocket protocol is disabled by default due to security concerns, but it can be enabled by overriding this method to return True. Connections using the draft76 protocol do not support the ``binary=True`` flag to `write_message`. Support for the draft76 protocol is deprecated and will be removed in a future version of Tornado.
Reimplemented from tornado::websocket::WebSocketHandler.
Definition at line 49 of file rosbridge.py.
def rosbridge.RosbridgeWebSocket.on_close | ( | self | ) |
Invoked when the WebSocket is closed.
Reimplemented from tornado::websocket::WebSocketHandler.
Definition at line 40 of file rosbridge.py.
def rosbridge.RosbridgeWebSocket.on_message | ( | self, | |
message | |||
) |
Handle incoming messages on the WebSocket This method must be overridden.
Reimplemented from tornado::websocket::WebSocketHandler.
Definition at line 37 of file rosbridge.py.
def rosbridge.RosbridgeWebSocket.open | ( | self | ) |
Invoked when a new WebSocket is opened. The arguments to `open` are extracted from the `tornado.web.URLSpec` regular expression, just like the arguments to `tornado.web.RequestHandler.get`.
Reimplemented from tornado::websocket::WebSocketHandler.
Definition at line 25 of file rosbridge.py.
def rosbridge.RosbridgeWebSocket.send_message | ( | self, | |
message | |||
) |
Definition at line 46 of file rosbridge.py.
Definition at line 25 of file rosbridge.py.