mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Re-emit 'start', 'forward' and 'end' events in RoutingProxy.
This commit is contained in:
parent
e9fd3f43d7
commit
99ee54259e
@ -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'));
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user