MCPcopy Index your code
hub / github.com/rawpython/remi / websocket_handshake_done

Method websocket_handshake_done

remi/server.py:505–509  ·  view source on GitHub ↗
(self, ws_instance_to_update)

Source from the content-addressed store, hash-verified

503 self._need_update_flag = False
504
505 def websocket_handshake_done(self, ws_instance_to_update):
506 msg = ""
507 with self.update_lock:
508 msg = "0" + self.root.identifier + ',' + to_websocket(self._overload(self.page.children['body'].innerHTML({}), filename="internal"))
509 ws_instance_to_update.send_message(msg)
510
511 def set_root_widget(self, widget):
512 self.page.children['body'].append(widget, 'root')

Callers 1

handshakeMethod · 0.80

Calls 4

_overloadMethod · 0.95
to_websocketFunction · 0.85
innerHTMLMethod · 0.80
send_messageMethod · 0.80

Tested by

no test coverage detected