mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 14:00:01 -04:00
use wisp server instead of wsproxy
This commit is contained in:
parent
95121068bc
commit
badeaa8ac3
6 changed files with 9 additions and 60 deletions
|
@ -10,7 +10,7 @@ This is an experimental port of [libcurl](https://curl.se/libcurl/) to WebAssemb
|
|||
## Building:
|
||||
You can build this project by running the following commands:
|
||||
```
|
||||
git clone https://github.com/ading2210/libcurl.js
|
||||
git clone https://github.com/ading2210/libcurl.js --recursive
|
||||
cd libcurl.js/client
|
||||
./build.sh
|
||||
```
|
||||
|
@ -48,11 +48,11 @@ libcurl.set_websocket("ws://localhost:6001/");
|
|||
```
|
||||
|
||||
## Proxy Server:
|
||||
The proxy server consists of a [SOCKS5 proxy server](https://github.com/Amaindex/asyncio-socks-server) behind a [websocket TCP proxy](https://github.com/novnc/websockify).
|
||||
The proxy server consists of a standard [Wisp](https://github.com/MercuryWorkshop/wisp-protocol) server, allowing multiple TCP connections to share the same websocket.
|
||||
|
||||
To host the proxy server, run the following commands:
|
||||
```
|
||||
git clone https://github.com/ading2210/libcurl.js
|
||||
git clone https://github.com/ading2210/libcurl.js --recursive
|
||||
cd libcurl.js/server
|
||||
./run.sh
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue