Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports.createHttpClient = function(options) {
* HTTP GET method wrapper
*
* @param {module:request~options} options The options Object taken by the {@link Request} constructor, filtered by {@link module:tools.shortHand}. options.method = 'GET' and it can not be overridden
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns of the data listeners
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns off the data listeners
* @param {module:main~callback} callback Completion callback
*
* @example
Expand Down Expand Up @@ -187,7 +187,7 @@ exports.head = function(options, callback) {
* HTTP DELETE method wrapper
*
* @param {module:request~options} options The options Object taken by the {@link Request} constructor, filtered by {@link module:tools.shortHand}. options.method = 'DELETE' and it can not be overridden
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns of the data listeners
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns off the data listeners
* @param {module:main~callback} callback Completion callback
*
* @example
Expand Down Expand Up @@ -222,7 +222,7 @@ exports.delete = function(options, file, callback) {
* HTTP POST method wrapper
*
* @param {module:request~options} options The options Object taken by the {@link Request} constructor, filtered by {@link module:tools.shortHand}. options.method = 'POST' and it can not be overridden
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns of the data listeners
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns off the data listeners
* @param {module:main~callback} callback Completion callback
*
* @example
Expand Down Expand Up @@ -324,7 +324,7 @@ exports.post = function(options, file, callback) {
* HTTP PUT method wrapper
*
* @param {module:request~options} options The options Object taken by the {@link Request} constructor, filtered by {@link module:tools.shortHand}. options.method = 'PUT' and it can not be overridden
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns of the data listeners
* @param {String|null} file Optional; specify a filesystem path to save the response body as file instead of Buffer. Passing null turns off the data listeners
* @param {module:main~callback} callback Completion callback
*
* @example
Expand Down Expand Up @@ -539,4 +539,4 @@ exports.setMaxSockets = function(value) {
* @callback module:main~callback
* @param {module:request~stdError} error The standard error or *null* on success
* @param {module:request~stdResult} result The standard result object if error is null
*/
*/