Function parseForwarded

  • Parses a Forwarded header value and will fall back to X-Forwarded-* headers.

    Parameters

    • headers: IncomingHttpHeaders

      The incoming HTTP headers.

    Returns Forwarded

    The parsed Forwarded header.