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

Function sender

starlette/_exception_handler.py:34–39  ·  view source on GitHub ↗
(message: Message)

Source from the content-addressed store, hash-verified

32 response_started = False
33
34 async def sender(message: Message) -> None:
35 nonlocal response_started
36
37 if message["type"] == "http.response.start":
38 response_started = True
39 await send(message)
40
41 try:
42 await app(scope, receive, sender)

Callers

nothing calls this directly

Calls 1

sendFunction · 0.50

Tested by

no test coverage detected