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

Method write_ping

tornado/websocket.py:1119–1122  ·  view source on GitHub ↗

Send ping frame.

(self, data: bytes)

Source from the content-addressed store, hash-verified

1117 return asyncio.ensure_future(wrapper())
1118
1119 def write_ping(self, data: bytes) -> None:
1120 """Send ping frame."""
1121 assert isinstance(data, bytes)
1122 self._write_frame(True, 0x9, data)
1123
1124 async def _receive_frame_loop(self) -> None:
1125 try:

Callers 1

periodic_pingMethod · 0.95

Calls 1

_write_frameMethod · 0.95

Tested by

no test coverage detected