|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
872 bytes
|
| Line | |
|---|
| 1 | /// <reference types="node" />
|
|---|
| 2 | import net from 'net';
|
|---|
| 3 | import tls from 'tls';
|
|---|
| 4 | import { Url } from 'url';
|
|---|
| 5 | import { AgentOptions } from 'agent-base';
|
|---|
| 6 | import _HttpProxyAgent from './agent';
|
|---|
| 7 | declare function createHttpProxyAgent(opts: string | createHttpProxyAgent.HttpProxyAgentOptions): _HttpProxyAgent;
|
|---|
| 8 | declare 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 | }
|
|---|
| 21 | export = createHttpProxyAgent;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.