Setu-TS
    Preparing search index...

    Interface WsRoute

    One registered WebSocket route.

    0.1.0

    interface WsRoute {
        handlers: WebSocketHandlers;
        heartbeat: boolean;
        path: string;
        protocols: readonly string[];
    }
    Index

    The application's lifecycle callbacks.

    heartbeat: boolean

    Whether this route participates in the shared heartbeat sweep. Defaults to true so existing routes are unaffected.

    path: string

    The exact path this route serves.

    protocols: readonly string[]

    Subprotocols this route accepts, empty when none are configured.