Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ iter_bytes
Method
iter_bytes
starlette/websockets.py:151–156 · starlette/websockets.py::WebSocket.iter_bytes
(self)
Source
from the content-addressed store, hash-verified
149
pass
150
151
async
def
iter_bytes(self) -> AsyncIterator[bytes]:
152
try
:
153
while
True:
154
yield
await self.receive_bytes()
155
except
WebSocketDisconnect:
156
pass
157
158
async
def
iter_json(self) -> AsyncIterator[Any]:
159
try
:
Callers
1
app
Function · 0.95
Calls
1
receive_bytes
Method · 0.95
Tested by
1
app
Function · 0.76