Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rawpython/remi
/ to_websocket
Function
to_websocket
remi/server.py:74–78 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
72
73
74
def
to_websocket(data):
75
# encoding end decoding utility function
76
if
pyLessThan3:
77
return
quote(data)
78
return
quote(data, encoding=
'utf-8'
)
79
80
81
def
from_websocket(data):
Callers
3
do_gui_update
Method · 0.85
websocket_handshake_done
Method · 0.85
set_root_widget
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected