Skip to content

Function: isWSPingFrameAvailable() ​

ts
function isWSPingFrameAvailable(): boolean;

WebSocket.ping() 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.