document new proxy command

This commit is contained in:
Benjamin Sergeant
2019-11-15 17:18:32 -08:00
parent c7b2446164
commit 5b282ce3b4
5 changed files with 32 additions and 26 deletions

View File

@ -195,6 +195,15 @@ Server: Python/3.7 websockets/8.0.2
Upgrade: websocket
```
## Websocket proxy
```
ws proxy_server --remote_host ws://127.0.0.1:9000 -v
Listening on 127.0.0.1:8008
```
If you connect to ws://127.0.0.1:8008, the proxy will connect to ws://127.0.0.1:9000 and pass all traffic to this server.
## File transfer
```