MCPcopy
hub / github.com/encode/httpx / __aiter__

Method __aiter__

httpx/_transports/default.py:269–272  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267 self._httpcore_stream = httpcore_stream
268
269 async def __aiter__(self) -> typing.AsyncIterator[bytes]:
270 with map_httpcore_exceptions():
271 async for part in self._httpcore_stream:
272 yield part
273
274 async def aclose(self) -> None:
275 if hasattr(self._httpcore_stream, "aclose"):

Callers

nothing calls this directly

Calls 1

map_httpcore_exceptionsFunction · 0.85

Tested by

no test coverage detected