Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ sock_send
Function
sock_send
src/py/reactpy/reactpy/backend/sanic.py:211–212 ·
view source on GitHub ↗
(value: Any)
Source
from the content-addressed store, hash-verified
209
socket: WebSocketConnection,
210
) -> tuple[SendCoroutine, RecvCoroutine]:
211
async
def
sock_send(value: Any) -> None:
212
await socket.send(json.dumps(value))
213
214
async
def
sock_recv() -> Any:
215
data = await socket.recv()
Callers
nothing calls this directly
Calls
1
send
Method · 0.80
Tested by
no test coverage detected