Function getRequestUrl

  • Returns the URL object for a request, taking into account a proxy.

    Parameters

    • targetUrl: string
    • Optional proxy: {
          auth?: { username: string; password: string; };
          host: string;
          port?: number;
          protocol?: "http" | "https";
      }
      • Optional auth?: { username: string; password: string; }
      • host: string
      • Optional port?: number
      • Optional protocol?: "http" | "https"

    Returns URL

Generated using TypeDoc