You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***websocket**`WebSocket` - The WebSocket instance to send the ping frame on
85
+
***payload**`Buffer|undefined` (optional) - Optional payload data to include with the ping frame. Must not exceed 125 bytes.
86
+
87
+
Sends a ping frame to the WebSocket server. The server must respond with a pong frame containing the same payload data. This can be used for keepalive purposes or to verify that the connection is still active.
0 commit comments