MCPcopy Create free account
hub / github.com/EasyIME/PIME / close

Method close

python/python3/tornado/http1connection.py:343–348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

341 self._clear_callbacks()
342
343 def close(self) -> None:
344 if self.stream is not None:
345 self.stream.close()
346 self._clear_callbacks()
347 if not self._finish_future.done():
348 future_set_result_unless_cancelled(self._finish_future, None)
349
350 def detach(self) -> iostream.IOStream:
351 """Take control of the underlying stream.

Callers 6

_read_messageMethod · 0.95
_finish_requestMethod · 0.95
_server_request_loopMethod · 0.95
_format_chunkMethod · 0.45
finishMethod · 0.45
closeMethod · 0.45

Calls 3

_clear_callbacksMethod · 0.95
doneMethod · 0.45

Tested by

no test coverage detected