Merge branch 'main' of https://git.cubetiqs.com/cubetiq/http-tunnel-client
This commit is contained in:
commit
fe38f051ff
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user