Skip to content

Commit

Permalink
Add doco note on agentOptions passing contrib.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jun 22, 2015
1 parent b7a1184 commit a716248
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,5 +1,5 @@
### 0.1.2-pre
*
* Add agentOptions param passing [Benedikt Arnold](https://github.com/benediktarnold)

### 0.1.1
* Add build reports to readme
Expand Down
2 changes: 1 addition & 1 deletion lib/bagofrequest.js
Expand Up @@ -16,7 +16,7 @@ var request = require('request'),
* - queryStrings: object containing URL query strings with format { name: value }
* - handlers: response handlers with format { error: function(err, result, cb), statuscode: function(result, cb) }
* - headers: object containing http headers, exact map to mikeal/request headers opt
* - body, form, json, multipart: request payload, exact map to mikeal/request module body, form, json, multipart opts
* - body, form, json, multipart, agentOptions: request payload, exact map to mikeal/request module body, form, json, multipart, agentOptions opts
* - retry: request retry configuration, false for disabled, true for sensible defaults, otherwise
* { errorCodes: ['ENOTFOUND'] || true/false, statusCodes: [ 503 ], scale: 0.5, delay: 1000, maxRetries: 10 }
* - timeout: request timeout in milliseconds, default to 30000 milliseconds
Expand Down

0 comments on commit a716248

Please sign in to comment.