MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / open

Method open

pywebio/platform/tornado.py:145–149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 _handler: ws_adaptor.WebSocketHandler
144
145 def open(self):
146 conn = WebSocketConnection(self)
147 self._handler = ws_adaptor.WebSocketHandler(
148 connection=conn, application=self.get_app(), reconnectable=bool(reconnect_timeout)
149 )
150
151 def on_message(self, message):
152 self._handler.send_client_data(message)

Callers 9

openAppFunction · 0.45
toastify.min.jsFile · 0.45
nFunction · 0.45
nFunction · 0.45
cFunction · 0.45
dFunction · 0.45
jquery.min.jsFile · 0.45

Calls 2

get_appMethod · 0.95
WebSocketConnectionClass · 0.70

Tested by

no test coverage detected