MCPcopy 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
74def 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
81def from_websocket(data):

Callers 3

do_gui_updateMethod · 0.85
set_root_widgetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected