mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Expose properties of HttpProxyAgent * Use 4 spaces over tabs * Remove options & timeout properties
20 lines
541 B
TypeScript
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;
|