Add body and querystring to RequestOptions (#957)
This commit is contained in:
2
lib/Connection.d.ts
vendored
2
lib/Connection.d.ts
vendored
@ -25,6 +25,8 @@ interface ConnectionOptions {
|
|||||||
|
|
||||||
interface RequestOptions extends http.ClientRequestArgs {
|
interface RequestOptions extends http.ClientRequestArgs {
|
||||||
asStream?: boolean;
|
asStream?: boolean;
|
||||||
|
body?: any;
|
||||||
|
querystring?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AgentOptions {
|
export interface AgentOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user