Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document strictSSL option

  • Loading branch information...
commit 4c8400103ec18a0729e29e9ffb17dda65ce02f6d 1 parent 646c80d
@isaacs isaacs authored
Showing with 2 additions and 0 deletions.
  1. +2 −0 
2 
@@ -111,6 +111,8 @@ The first argument can be either a url or an options object. The only required o
* `pool.maxSockets` - Integer containing the maximum amount of sockets in the pool.
* `timeout` - Integer containing the number of milliseconds to wait for a request to respond before aborting the request
* `proxy` - An HTTP proxy to be used. Support proxy Auth with Basic Auth the same way it's supported with the `url` parameter by embedding the auth info in the uri.
+* `strictSSL` - Set to `true` to require that SSL certificates be valid. Note: to use your own certificate authority, you need to specify an agent that was created with that ca as an option.
The callback argument gets 3 arguments. The first is an error when applicable (usually from the http.Client option not the http.ClientRequest object). The second in an http.ClientResponse object. The third is the response body buffer.
Please sign in to comment.
Something went wrong with that request. Please try again.