Skip to content

Function: isWSPongFrameAvailable() ​

ts
function isWSPongFrameAvailable(): boolean;

WebSocket.pong() is not available in browsers. This is a simple check used to disable heartbeats in browers, for exchanges that use native WebSocket ping/pong frames.

Returns ​

boolean

Built by Siebly. Open source SDKs for exchange APIs.