Script API - v26.60
    Preparing search index...

    Class WebSocketClient

    An active WebSocket client.

    export class WebSocketClient {
    private constructor();
    readonly afterEvents: WebSocketClientAfterEvents;
    readonly isOpen: boolean;
    close(): void;
    send(payload: string): void;
    }
    Index

    Contains a set of events related to this WebSocket client.

    This property can't be read in early-execution mode.

    isOpen: boolean

    Set to true if the socket is current connected to the server.

    This property can't be read in early-execution mode.