hoppscotch / proxyscotch

📡 A simple proxy server created for https://hoppscotch.io
https://hoppscotch.io
MIT License
360 stars 93 forks source link

Add Realtime Connections Support #17

Open frankli0324 opened 4 years ago

frankli0324 commented 4 years ago

related: https://github.com/liyasthomas/postwoman/issues/175

NBTX commented 4 years ago

So there is definitely a plan to implement WebSockets support into the Go proxy on the roadmap, my main concern however is usage of server resources especially on our official server. I may just add an optional flag or setting that can be supplied to the server to toggle the capability.

Just referring to the other issue, could you clarify what you meant by "still trying to adopt the original version of http proxy server so we could use a single proxy for both types of requests"?

frankli0324 commented 4 years ago

sorry for the late response back then I was not familiar with proxywoman and it's implementation of the proxy, so I said something stupid(

NBTX commented 4 years ago

Ah, no worries!

SamJakob commented 1 year ago

See also hoppscotch/hoppscotch:#3062.

Especially with the push for Hoppscotch as an enterprise product and for self-hosting purposes I think it would be useful to add this functionality to the proxy even if it is not used by hoppscotch officially due to the aforementioned concerns about resource consumption.

I will look to implement this in the proxy server behind a --enable-websockets flag.