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

Method _receive_frame_loop

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

Source from the content-addressed store, hash-verified

1101 self._write_frame(True, 0x9, data)
1102
1103 async def _receive_frame_loop(self) -> None:
1104 try:
1105 while not self.client_terminated:
1106 await self._receive_frame()
1107 except StreamClosedError:
1108 self._abort()
1109 self.handler.on_ws_connection_close(self.close_code, self.close_reason)
1110
1111 async def _read_bytes(self, n: int) -> bytes:
1112 data = await self.stream.read_bytes(n)

Callers 1

_accept_connectionMethod · 0.95

Calls 3

_receive_frameMethod · 0.95
_abortMethod · 0.80

Tested by

no test coverage detected