iya-sts
    Preparing search index...

    Variable peerIsTrustedProxy

    peerIsTrustedProxy: (req: any) => any = peerIsTrustedProxy

    Type Declaration

      • (req: any): any
      • Says whether the connection's own peer is one of the proxies in global.trustedProxies.

        Always true when no range is configured, the rule in which global.trustProxy alone decides.

        Parameters

        • req: any

          the request

        Returns any

        true when the peer is trusted