mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
temp-commit for typescript, move the requestHandler to a seprate folder
This commit is contained in:
6
docs-src/.vuepress/config.js
Normal file
6
docs-src/.vuepress/config.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
title: 'AnyProxy',
|
||||
themeConfig: {
|
||||
sidebar: 'auto'
|
||||
}
|
||||
}
|
||||
@@ -200,6 +200,14 @@ anyproxy --intercept #启动AnyProxy,并解析所有https请求
|
||||
|
||||
* [附录:如何信任CA证书](#证书配置)
|
||||
|
||||
# 代理WebSocket
|
||||
|
||||
```bash
|
||||
anyproxy --ws-intercept
|
||||
```
|
||||
|
||||
> 当启用`HTTPS`代理时,`wss`也会被代理,但是不会被AnyProxy记录。需要开启`--ws-intercept`后才会从界面上看到相应内容。
|
||||
|
||||
# rule模块
|
||||
|
||||
AnyProxy提供了二次开发的能力,你可以用js编写自己的规则模块(rule),来自定义网络请求的处理逻辑。
|
||||
|
||||
@@ -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