add docs about turning on websocket proxy in command

This commit is contained in:
砚然
2018-02-05 11:06:14 +08:00
parent 4d0a8207ff
commit 4244abe9e0
4 changed files with 17 additions and 0 deletions

View File

@@ -200,6 +200,13 @@ anyproxy --intercept #launch anyproxy and intercept all https traffic
* [Appendixhow to trust CA](#config-certification)
# Proxy WebSocket
```bash
anyproxy --ws-intercept
```
> The `wss` requests will be handled automatically when the `HTTPS` intercept is turned on, but AnyProxy will not record the data by default. You need to specify the `--ws-intercept` to tell AnyProxy to record it.
# Rule Introduction
AnyProxy provides the ability to load your own rules written in javascript. With rule module, you could customize the logic to handle requests.