forked from FrankyBoy/request-ntlm
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
executable file
·25 lines (15 loc) · 1.01 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import requestPromise = require('request-promise');
import { Response } from 'request';
declare function del(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export function get(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export function post(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export function put(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export function patch(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export function options(options: requestNTLMOptions, params?: any, streamCallback?: (resp: Response) => void): Promise<any>;
export { del as delete }
export interface requestNTLMOptions extends requestPromise.OptionsWithUrl {
username: string,
password: string,
workstation?: string,
ntlm_domain?: string,
}