Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ receive
Function
receive
tests/middleware/test_base.py:302–303 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
300
}
301
302
async
def
receive() -> Message:
303
raise
NotImplementedError(
"Should not be called!"
)
304
305
async
def
send(message: Message) -> None:
306
if
message[
"type"
] ==
"http.response.body"
:
Callers
10
cancel_on_disconnect
Function · 0.70
downstream_app
Function · 0.70
endpoint
Function · 0.70
test_read_request_disconnected_client
Function · 0.70
test_read_request_disconnected_after_consuming_steam
Function · 0.70
wrapped_receive
Function · 0.70
wrapped_rcv
Function · 0.70
test_multiple_middlewares_stacked_client_disconnected
Function · 0.70
app_poll_disconnect
Function · 0.70
test_poll_for_disconnect_repeated
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected