Skip to content

Commit

Permalink
add write method
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendangers committed Nov 7, 2014
1 parent fb9c2b0 commit ecce4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Request.prototype.abort = function () {
};

// expose request methods from RequestRetry
['end', 'on', 'emit', 'once', 'setMaxListeners', 'start', 'removeListener', 'pipe'].forEach(function (methodName) {
['end', 'on', 'emit', 'once', 'setMaxListeners', 'start', 'removeListener', 'pipe', 'write'].forEach(function (methodName) {
Request.prototype[methodName] = makeGateway(methodName);
});

Expand Down

0 comments on commit ecce4c1

Please sign in to comment.