namespace

quic.constants

namespace constants

An object containing commonly used constants for QUIC configuration.

  • enum cc

    Congestion control algorithm identifiers, for use with the sessionOptions.cc option:

    • quic.constants.cc.RENO — Reno congestion control.
    • quic.constants.cc.CUBIC — CUBIC congestion control.
    • quic.constants.cc.BBR — BBR congestion control.
  • const DEFAULT_CIPHERS: string

    The default TLS 1.3 cipher suite list used when sessionOptions.ciphers is not specified.

  • const DEFAULT_GROUPS: string

    The default TLS 1.3 key-exchange group list used when sessionOptions.groups is not specified.