Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encode/starlette
/ send
Function
send
benchmarks/_utils.py:37–38 ·
view source on GitHub ↗
(message: Message)
Source
from the content-addressed store, hash-verified
35
messages: list[Message] = []
36
37
async
def
send(message: Message) -> None:
38
messages.append(message)
39
40
await app(scope, receive, send)
41
return
messages
Callers
15
__call__
Method · 0.70
__call__
Method · 0.70
send_result
Function · 0.70
send_length
Function · 0.70
send_result
Function · 0.70
sender
Function · 0.50
__call__
Method · 0.50
wrapped
Method · 0.50
__call__
Method · 0.50
stream_response
Method · 0.50
_handle_simple
Method · 0.50
_handle_single_range
Method · 0.50
Calls
1
append
Method · 0.45
Tested by
no test coverage detected