MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / stream

Method stream

src/client/blocking/response/http.rs:141–143  ·  view source on GitHub ↗

Convert the response into a `Stream` of `Bytes` from the body.

(&self, py: Python)

Source from the content-addressed store, hash-verified

139
140 /// Convert the response into a `Stream` of `Bytes` from the body.
141 pub fn stream(&self, py: Python) -> PyResult<BlockingStreamer> {
142 self.0.stream(py).map(BlockingStreamer)
143 }
144
145 /// Closes the response connection.
146 pub fn close(&self, py: Python) -> PyResult<()> {

Callers 3

mainFunction · 0.45
mainFunction · 0.45
test_get_streamFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_get_streamFunction · 0.36