Skip to content

Commit b4ea1b7

Browse files
committed
ws example
Signed-off-by: Joeky <[email protected]>
1 parent 31cdd84 commit b4ea1b7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ReadMe.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ curl -x http://localhost:13002 http(s)://example.com
4949
curl -x http://localhost:13003 http(s)://example.com
5050
```
5151

52+
#### 💡 Websocket Example
53+
54+
```fish
55+
./fpgo -a "0.0.0.0:13002"
56+
wscat --proxy http://localhost:13002 -c wss://websocket-echo.com
57+
```
58+
5259
### 📌 Caveats
5360

5461
This proxy server was used as a cheap knock-off of NAT Gateways on low-end hardwares originally, and was tuned for maximum performance, flexibility and less dependencies in our environments. But we've seen more and more people use it in production, so it's our responsibility to make sure everyone knows the following:

0 commit comments

Comments
 (0)