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

Method on_connection_close

python/python3/tornado/websocket.py:561–568  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

559 self.ws_connection.set_nodelay(value)
560
561 def on_connection_close(self) -> None:
562 if self.ws_connection:
563 self.ws_connection.on_connection_close()
564 self.ws_connection = None
565 if not self._on_close_called:
566 self._on_close_called = True
567 self.on_close()
568 self._break_cycles()
569
570 def on_ws_connection_close(
571 self, close_code: Optional[int] = None, close_reason: Optional[str] = None

Callers 2

on_connection_closeMethod · 0.45

Calls 2

on_closeMethod · 0.95
_break_cyclesMethod · 0.95

Tested by

no test coverage detected