mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-27 07:45:41 +00:00
add docs about turning on websocket proxy in command
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* [Options](README.md#options)
|
||||
* [As Node Module](README.md#use-anyproxy-as-an-npm-module)
|
||||
* [Proxy HTTPS](README.md#proxy-https)
|
||||
* [Proxy WebSocket](README.md#proxy-websocket)
|
||||
* [Rule Introduction](README.md#rule-introduction)
|
||||
* [Sample](README.md#sample)
|
||||
* [How Does It Work](README.md#how-does-it-work)
|
||||
|
@@ -200,6 +200,13 @@ anyproxy --intercept #launch anyproxy and intercept all https traffic
|
||||
|
||||
* [Appendix:how 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.
|
||||
|
Reference in New Issue
Block a user