Setu-TS
    Preparing search index...

    Interface WebSocketCloseEvent

    Payload of a WebSocket close, normalized across runtimes.

    0.2.0

    interface WebSocketCloseEvent {
        code: number;
        reason: string;
    }
    Index
    code: number

    The RFC 6455 close code (e.g. 1000 normal, 1001 going away).

    reason: string

    The close reason; an empty string when the peer supplied none.