1 | import { Callback } from './Callback';
|
2 | import { CachedResponse } from './CachedResponse';
|
3 | import { HttpVerb } from './HttpVerb';
|
4 | import { ICache } from './ICache';
|
5 | import { Options } from './Options';
|
6 | import Response = require('http-response-object');
|
7 | import { URL } from 'url';
|
8 | declare function request(method: HttpVerb, url: string | URL, options: Options | null | void, callback: Callback): void | NodeJS.WritableStream;
|
9 | declare function request(method: HttpVerb, url: string | URL, callback: Callback): void | NodeJS.WritableStream;
|
10 | export default request;
|
11 | export { HttpVerb };
|
12 | export { Options };
|
13 | export { Callback };
|
14 | export { Response };
|
15 | export { CachedResponse };
|
16 | export { ICache };
|