DefinitelyTyped/types/http-proxy-agent/index.d.ts
Ste Prescott 83b0f8edf0 Expose properties of HttpProxyAgent (#29745)
* Expose properties of HttpProxyAgent

* Use 4 spaces over tabs

* Remove options & timeout properties
2018-10-17 08:53:06 -07:00

20 lines
541 B
TypeScript

// Type definitions for http-proxy-agent 2.0
// Project: https://github.com/TooTallNate/node-http-proxy-agent
// Definitions by: mrmlnc <https://github.com/mrmlnc>
// steprescott <https://github.com/steprescott>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
import { Agent } from 'http';
import { Url } from 'url';
declare class HttpProxyAgent extends Agent {
constructor(options: string | Url);
proxy: Url;
secureProxy: boolean;
}
export = HttpProxyAgent;