source: trip-planner-front/node_modules/http-proxy-agent/dist/index.d.ts@ 76712b2

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

initial commit

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