mycocepurus-smithii - v2.0.1
    Preparing search index...

    Function assertKey

    • Rejects a key that is not the content of an RFC 8941 String: printable ASCII, %x20-7E, at least one character and at most maxLength.

      This is the unquoted value. Quoting and escaping are wire syntax, and mycocepurus-smithii/http strips them before the key gets here.

      Parameters

      • key: string
      • maxLength: number

      Returns string