Comments (2)
Hi @q0rban, here my two cents on this feature after spending quite some time on trying to integrate WebSocket proxying on this module interface:
The HTTP proxying interface in fast-proxy is different to the one we can effectively offer to proxy WebSockets connections and workflows, semantics are simply different!
I believe WebSocket proxying capabilities can be better implemented at a higher level outside fast-proxy. In any case, you can see an example here: https://github.com/BackendStack21/fast-gateway/tree/master/docs#websockets
PS: Please note that I do not maintain the fast-proxy
project anymore, and the team maintain it may provide a different point of view.
Best Regards
from fast-proxy.
Fantastic, thank you for the quick reply, @jkyberneees! I'll go ahead and close this issue, but the current maintainers can re-open if they have interest in pursuing this within fast-proxy.
from fast-proxy.
Related Issues (20)
- Should support undici timeout err.code HOT 4
- Server crash when aborting wrk when using fast-proxy with 0http with low server HOT 3
- Extend support for post with application/x-www-form-urlencoded HOT 3
- merge/collaborate with http2-proxy? HOT 5
- Your benchmarks are way off HOT 5
- someone can use req.url like '//10.10.10.10' to make SSRF attack, cause the host in headers is not expected. HOT 2
- lib/util.js security feature issue HOT 5
- Getting 500 `invalid connection header` using fast-proxy with undici HOT 2
- Is there an interface to use proxy in koa.js? HOT 3
- Undici crashes server HOT 4
- undici Pool not updated when using "base" option under Proxy function
- How can I test this package locally? HOT 4
- Type for undici option does not support boolean values
- Only match beginning of URL when stripping additional forward slashes HOT 2
- Bump version? HOT 1
- [undici] Preflight requests from Safari HOT 4
- Response being written after being sent because res.sent is undefined
- Archiving this module / Do not use / New maintainer needed HOT 7
- allow for custom error handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-proxy.