https://github.com/garrylachman/node-ws2http-proxy
NodeJS HTTP WebSocket as Web Proxy - work in progress
https://github.com/garrylachman/node-ws2http-proxy
Last synced: 9 months ago
JSON representation
NodeJS HTTP WebSocket as Web Proxy - work in progress
- Host: GitHub
- URL: https://github.com/garrylachman/node-ws2http-proxy
- Owner: garrylachman
- Created: 2016-03-16T21:48:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-18T01:59:13.000Z (almost 10 years ago)
- Last Synced: 2025-02-15T14:23:36.700Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# node-ws2http-proxy #
Http server over http websockets to avoid NATs.
1. Server - the server contains 2 servers. Http proxy server and WebSockets server.
the proxy node (client) connects to the websocket server and wait for work.
the proxy servers act as load balancer, he handle the http proxy request and forward it to
random proxy node via WebSockets.
2. Client - the client is the real proxy node that performe the request,
the client connect to the server and wait for work.
## flow ###
Request -> Proxy Server (server) -> Select connection (ws) -> Client (ws) execute request -> return the response via (ws) -> response to the cliet (http)