interface

quic.ApplicationOptions

interface ApplicationOptions

  • enableConnectProtocol?: boolean

    Enable the extended CONNECT protocol (RFC 9220). Default: false

  • enableDatagrams?: boolean

    Enable HTTP/3 datagrams (RFC 9297). Default: false

  • maxFieldSectionSize?: number

    Maximum size of a compressed header field section (QPACK). 0 means unlimited. Default: 0

  • maxHeaderLength?: number

    Maximum total byte length of all header names and values combined per header block. Headers that would push the total over this limit are silently dropped. Default: 8192

  • maxHeaderPairs?: number

    Maximum number of header name-value pairs accepted per header block. Headers beyond this limit are silently dropped. Default: 128

  • qpackBlockedStreams?: number

    Maximum number of streams that can be blocked waiting for QPACK dynamic table updates. Default: 100

  • qpackEncoderMaxDTableCapacity?: number

    QPACK encoder maximum dynamic table capacity. Default: 4096

  • qpackMaxDTableCapacity?: number

    QPACK dynamic table capacity in bytes. Set to 0 to disable the dynamic table. Default: 4096