Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastapi/fastapi
/ receive
Function
receive
tests/test_frontend.py:548–553 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
546
messages = []
547
548
async
def
receive():
549
return
{
# pragma: no cover
550
"type"
:
"http.request"
,
551
"body"
: b
""
,
552
"more_body"
: False,
553
}
554
555
async
def
send(message):
556
messages.append(message)
Callers
1
inner
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected