mirror of
https://github.com/github/codeql-action.git
synced 2026-10-25 15:17:12 +00:00
13 lines
650 B
TypeScript
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
|