rest-vir - v1.0.0
    Preparing search index...

    Type Alias CommonWebSocketEventMap

    A mapping of WebSocket events that are compatible with both client-side WebSockets and host-side WebSockets.

    type CommonWebSocketEventMap = {
        close: {
            code: number;
            reason: string;
            target: CommonWebSocket;
            type: string;
            wasClean: boolean;
        };
        error: { target: CommonWebSocket; type: string };
        message: { data: unknown; target: CommonWebSocket; type: string };
        open: { target: CommonWebSocket; type: string };
    }
    Index

    Properties

    Properties

    close: {
        code: number;
        reason: string;
        target: CommonWebSocket;
        type: string;
        wasClean: boolean;
    }
    error: { target: CommonWebSocket; type: string }
    message: { data: unknown; target: CommonWebSocket; type: string }
    open: { target: CommonWebSocket; type: string }