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

Method write_ping

python/python3/tornado/websocket.py:1098–1101  ·  view source on GitHub ↗

Send ping frame.

(self, data: bytes)

Source from the content-addressed store, hash-verified

1096 return asyncio.ensure_future(wrapper())
1097
1098 def write_ping(self, data: bytes) -> None:
1099 """Send ping frame."""
1100 assert isinstance(data, bytes)
1101 self._write_frame(True, 0x9, data)
1102
1103 async def _receive_frame_loop(self) -> None:
1104 try:

Callers 1

periodic_pingMethod · 0.95

Calls 1

_write_frameMethod · 0.95

Tested by

no test coverage detected