Skip to content

Commit a61aabe

Browse files
httpAgent and httpsAgent documentation
1 parent 01fc8e6 commit a61aabe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ __Arguments__
115115
* sslCaDir - Path to the certificates cache directory (default: process.cwd() + '/.http-mitm-proxy')
116116
* silent - if set to true, nothing will be written to console (default: false)
117117
* timeout - The number of milliseconds of inactivity before a socket is presumed to have timed out. Defaults to no timeout.
118+
* httpAgent - The [http.Agent](https://nodejs.org/api/http.html#http_class_http_agent) to use when making http requests. Useful for chaining proxys. Defaults to an internal Agent.
119+
* httpsAgent - The [https.Agent](https://nodejs.org/api/https.html#https_class_https_agent) to use when making https requests. Useful for chaining proxys. Defaults to an internal Agent.
118120

119121
__Example__
120122

0 commit comments

Comments
 (0)