MCPcopy Index your code
hub / github.com/reflex-dev/reflex / send

Function send

tests/units/test_app.py:1129–1131  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

1127 return {"type": "http.disconnect"}
1128
1129 async def send(message): # noqa: RUF029
1130 if message.get("type") == "http.response.body" and not message.get("body"):
1131 done.set()
1132
1133 await streaming_response(scope, receive, send)
1134

Callers 1

send_with_headersMethod · 0.50

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected