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

Function streaming_body

tests/models/test_responses.py:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16
17def streaming_body() -> typing.Iterator[bytes]:
18 yield b"Hello, "
19 yield b"world!"
20
21
22async def async_streaming_body() -> typing.AsyncIterator[bytes]:

Calls

no outgoing calls

Tested by

no test coverage detected