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

Method send_no_error

starlette/middleware/base.py:132–137  ·  view source on GitHub ↗
(message: Message)

Source from the content-addressed store, hash-verified

130 return message
131
132 async def send_no_error(message: Message) -> None:
133 try:
134 await send_stream.send(message)
135 except anyio.BrokenResourceError:
136 # recv_stream has been closed, i.e. response_sent has been set.
137 return
138
139 async def coro() -> None:
140 nonlocal app_exc

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected