Add body and querystring to RequestOptions (#957)

This commit is contained in:
Victor Villas
2019-09-11 06:29:40 -03:00
committed by delvedor
parent 1e3bdc68f8
commit b056f7d796

2
lib/Connection.d.ts vendored
View File

@ -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 {