iya-sts
    Preparing search index...

    Variable forwardedFrom

    forwardedFrom: (req: any) => { forwarded: boolean; host: any; proto: any } = forwardedFrom

    Type Declaration

      • (req: any): { forwarded: boolean; host: any; proto: any }
      • Returns the scheme and host a request should be understood as having arrived at: the forwarded ones where a proxy is trusted and the peer is believed, the socket's otherwise.

        Parameters

        • req: any

          the request

        Returns { forwarded: boolean; host: any; proto: any }

        { proto, host, forwarded }