MCPcopy
hub / github.com/tornadoweb/tornado / close

Method close

tornado/httpclient.py:115–120  ·  view source on GitHub ↗

Closes the HTTPClient, freeing any resources used.

(self)

Source from the content-addressed store, hash-verified

113 self.close()
114
115 def close(self) -> None:
116 """Closes the HTTPClient, freeing any resources used."""
117 if not self._closed:
118 self._async_client.close()
119 self._io_loop.close()
120 self._closed = True
121
122 def fetch(
123 self, request: Union["HTTPRequest", str], **kwargs: Any

Callers 2

__del__Method · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected