hoshimi
    Preparing search index...

    Interface WebSocketClosedEvent

    The event for when the WebSocket connection is closed.

    interface WebSocketClosedEvent {
        byRemote: boolean;
        code: number;
        guildId: string;
        op: Event;
        reason: string;
        type: WebsocketClosed;
    }

    Hierarchy (View Summary)

    Index

    Properties

    byRemote: boolean

    Whether the connection was closed by the remote.

    code: number

    The close code.

    guildId: string

    The guild id associated with the event.

    op: Event

    The operation code for the event.

    reason: string

    The reason for the closure.

    The type of the event.