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

Method __iter__

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

Source from the content-addressed store, hash-verified

123 self._httpcore_stream = httpcore_stream
124
125 def __iter__(self) -> typing.Iterator[bytes]:
126 with map_httpcore_exceptions():
127 for part in self._httpcore_stream:
128 yield part
129
130 def close(self) -> None:
131 if hasattr(self._httpcore_stream, "close"):

Callers

nothing calls this directly

Calls 1

map_httpcore_exceptionsFunction · 0.85

Tested by

no test coverage detected