An open API service indexing awesome lists of open source software.

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

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)