Update 'src/lib.ts'
This commit is contained in:
parent
5b1a7a68c5
commit
97c94ad816
@ -57,7 +57,7 @@ class TunnelResponse extends stream.Duplex {
|
||||
super();
|
||||
|
||||
if (duplex) {
|
||||
// for websocket request: bidirection
|
||||
// for websocket request: bidirection
|
||||
const onResponsePipe = (responseId: string, data: any) => {
|
||||
if (this.responseId === responseId) {
|
||||
this.push(data);
|
||||
|
Loading…
Reference in New Issue
Block a user