DefinitelyTyped/types/http-proxy-agent/index.d.ts
Oliver Joseph Ash a3ef14ec54 Node: URL: correct format/parse parameter types (#40118)
* Node: URL: correct format/parse parameter types

* Fix dependencies

* Fix dependencies

* Revert href change

* Update types/node/url.d.ts

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2019-11-15 11:38:53 -08:00

21 lines
577 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
// TypeScript Version: 2.1
/// <reference types="node"/>
import { Agent } from 'http';
import { Url } from 'url';
declare class HttpProxyAgent extends Agent {
constructor(options: string | Partial<Url>);
proxy: Url;
secureProxy: boolean;
}
export = HttpProxyAgent;