Re-emit 'start', 'forward' and 'end' events in RoutingProxy.

This commit is contained in:
Christian Howe 2012-03-27 21:37:23 -04:00
parent e9fd3f43d7
commit 99ee54259e

View File

@ -92,6 +92,9 @@ RoutingProxy.prototype.add = function (options) {
this.proxies[key] = new HttpProxy(options);
this.proxies[key].on('proxyError', this.emit.bind(this, 'proxyError'));
this.proxies[key].on('webSocketProxyError', this.emit.bind(this, 'webSocketProxyError'));
this.proxies[key].on('start', this.emit.bind(this, 'start'));
this.proxies[key].on('forward', this.emit.bind(this, 'forward'));
this.proxies[key].on('end', this.emit.bind(this, 'end'));
};
//