MCPcopy
hub / github.com/encode/starlette / receive

Function receive

tests/test_responses.py:260–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 app = FileResponse(path=path, filename="example.png")
259
260 async def receive() -> Message: # type: ignore[empty-body]
261 ... # pragma: no cover
262
263 async def send(message: Message) -> None:
264 if message["type"] == "http.response.start":

Callers 5

wait_startupMethod · 0.50
wait_shutdownMethod · 0.50
listen_for_disconnectMethod · 0.50
lifespanMethod · 0.50
__call__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected