Checker: ((this, item, index) => HttpForwardTrustMask)

Type declaration

    • (this, item, index): HttpForwardTrustMask
    • Signature of function that checks whether the forwarding record value can be trusted.

      This function is called for each forwarding record in reverse order. The very last record is always trusted as it contains local address info.

      Parameters

      • this: void
      • item: HthvItem

        An item of the Forwarded header value containing a record to check.

      • index: number

        Reverse item index. I.e. the last one has 0 index.

      Returns HttpForwardTrustMask

      Bitwise mask of the trust.

Generated using TypeDoc