[request] update agentOptions

This commit is contained in:
Leo Liang
2018-11-02 16:44:00 +08:00
parent f8721b6253
commit 07ed875ab9
+1 -1
View File
@@ -134,7 +134,7 @@ declare namespace request {
jsonReplacer?: (key: string, value: any) => any;
multipart?: RequestPart[] | Multipart;
agent?: http.Agent | https.Agent;
agentOptions?: SecureContextOptions;
agentOptions?: http.AgentOptions | https.AgentOptions | SecureContextOptions;
agentClass?: any;
forever?: any;
host?: string;