From ecce4c134af2dcd7d14d8c7310c2b8d1ad08f11b Mon Sep 17 00:00:00 2001 From: juliendangers Date: Fri, 7 Nov 2014 16:19:14 +0100 Subject: [PATCH] add write method --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 149f526..f7270b8 100644 --- a/index.js +++ b/index.js @@ -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); });