source: trip-planner-front/node_modules/https-proxy-agent/dist/index.d.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 970 bytes
Line 
1/// <reference types="node" />
2import net from 'net';
3import tls from 'tls';
4import { Url } from 'url';
5import { AgentOptions } from 'agent-base';
6import { OutgoingHttpHeaders } from 'http';
7import _HttpsProxyAgent from './agent';
8declare function createHttpsProxyAgent(opts: string | createHttpsProxyAgent.HttpsProxyAgentOptions): _HttpsProxyAgent;
9declare namespace createHttpsProxyAgent {
10 interface BaseHttpsProxyAgentOptions {
11 headers?: OutgoingHttpHeaders;
12 secureProxy?: boolean;
13 host?: string | null;
14 path?: string | null;
15 port?: string | number | null;
16 }
17 export interface HttpsProxyAgentOptions extends AgentOptions, BaseHttpsProxyAgentOptions, Partial<Omit<Url & net.NetConnectOpts & tls.ConnectionOptions, keyof BaseHttpsProxyAgentOptions>> {
18 }
19 export type HttpsProxyAgent = _HttpsProxyAgent;
20 export const HttpsProxyAgent: typeof _HttpsProxyAgent;
21 export {};
22}
23export = createHttpsProxyAgent;
Note: See TracBrowser for help on using the repository browser.