couch-kit
    Preparing search index...

    Interface WebSocketConfig

    interface WebSocketConfig {
        debug?: boolean;
        keepaliveInterval?: number;
        keepaliveTimeout?: number;
        maxFrameSize?: number;
        maxMessageBytes?: number;
        port: number;
    }
    Index
    debug?: boolean
    keepaliveInterval?: number

    No effect. The nitro-http WebSocket transport does not expose server-side keepalive ping configuration, so this value is never read. Application-level heartbeats are handled by the host PING/PONG protocol. This field will be removed in a future major release. Do not set it.

    keepaliveTimeout?: number

    No effect. The nitro-http WebSocket transport does not expose keepalive pong-timeout configuration, so this value is never read. This field will be removed in a future major release. Do not set it.

    maxFrameSize?: number

    No effect. The underlying nitro-http WebSocket transport manages frame sizing internally and this value is never read. This field will be removed in a future major release. Do not set it.

    maxMessageBytes?: number

    Maximum size (in bytes) of an inbound client message. Frames larger than this are discarded before parsing, bounding the memory a single client can force the host to allocate. Defaults to DEFAULT_MAX_MESSAGE_BYTES (256 KiB).

    port: number