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

Method close

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

Closes the response connection.

(&self, py: Python)

Source from the content-addressed store, hash-verified

144
145 /// Closes the response connection.
146 pub fn close(&self, py: Python) -> PyResult<()> {
147 py.allow_threads(|| {
148 let _ = self.0.inner().map(drop);
149 Ok(())
150 })
151 }
152}
153
154#[pymethods]

Callers 1

__exit__Method · 0.45

Calls 1

innerMethod · 0.80

Tested by

no test coverage detected