Setu-TS
    Preparing search index...

    Interface WsModuleLike

    The shape of the ws module this adapter uses.

    0.2.0

    interface WsModuleLike {
        WebSocketServer: new (
            options: {
                handleProtocols?: (protocols: Set<string>) => string | false;
                noServer: boolean;
            },
        ) => WsServerLike;
    }
    Index
    WebSocketServer: new (
        options: {
            handleProtocols?: (protocols: Set<string>) => string | false;
            noServer: boolean;
        },
    ) => WsServerLike

    The WebSocketServer constructor.