Files
codeql-action/node_modules/@azure/ms-rest-js/es/lib/proxyAgent.d.ts

13 lines
650 B
TypeScript

/// <reference types="node" />
import * as http from "http";
import * as https from "https";
import * as tunnel from "tunnel";
import { ProxySettings } from "./serviceClient";
import { HttpHeadersLike } from "./httpHeaders";
export declare type ProxyAgent = {
isHttps: boolean;
agent: http.Agent | https.Agent;
};
export declare function createProxyAgent(requestUrl: string, proxySettings: ProxySettings, headers?: HttpHeadersLike): ProxyAgent;
export declare function createTunnel(isRequestHttps: boolean, isProxyHttps: boolean, tunnelOptions: tunnel.HttpsOverHttpsOptions): http.Agent | https.Agent;
//# sourceMappingURL=proxyAgent.d.ts.map