(self)
| 171 | supports_binary = True |
| 172 | |
| 173 | def open(self): |
| 174 | # Register the websocket with the FigureManager. |
| 175 | manager = self.application.manager |
| 176 | manager.add_web_socket(self) |
| 177 | if hasattr(self, 'set_nodelay'): |
| 178 | self.set_nodelay(True) |
| 179 | |
| 180 | def on_close(self): |
| 181 | # When the socket is closed, deregister the websocket with |
no outgoing calls
no test coverage detected