This commit is contained in:
2022-12-22 15:25:51 +07:00

View File

@@ -57,7 +57,7 @@ class TunnelResponse extends stream.Duplex {
super(); super();
if (duplex) { if (duplex) {
// for websocket request bidirection // for websocket request: bidirection
const onResponsePipe = (responseId: string, data: any) => { const onResponsePipe = (responseId: string, data: any) => {
if (this.responseId === responseId) { if (this.responseId === responseId) {
this.push(data); this.push(data);