anyproxy/docs/cn/search_index.json

1 line
190 KiB
JSON
Raw Normal View History

{"index":{"version":"0.5.12","fields":[{"name":"title","boost":10},{"name":"keywords","boost":15},{"name":"body","boost":1}],"ref":"url","documentStore":{"store":{"./":["\"content","\"curl/7.43.0\"","\"data\":","\"https\"","\"i","\"thi","\"user","\"x","#全局包","#启动anyproxy并解析所有https请求","#本地包","#生成rootca证书生成后需要手动信任","&&","'","'...'","'...',","'/',","'/index.html';","'/redirect/to/another/path';","'127.0.0.1'","'8001');","'8008';","';","'a","'anyproxy';","'anyproxy.io',","'anyproxy/0.0.0';","'application/json'","'cach","'close',","'content","'get',","'get';","'hello","'http',","'http';","'http://anyproxy.io/',","'http://httpbin.org/get?show_env=1'","'http://httpbin.org/us","'https'","'https',","'i","'image/gif',","'keep","'mi","'origin","'proxi","'rule","'text/html'","'thi","'user","'{\"hello\":","(!anyproxy.utils.certmgr.ifrootcafileexists())","(!error)","()","(e)","(iswin)","(requestdetail.url","(requestdetail.url.indexof('http://httpbin.org')","(requestdetail.url.indexof('http://httpbin.org/post')","(requestdetail.url.indexof('http://httpbin.org/us","(requestdetail.url.indexof('https://httpbin.org/us","(requestdetail.url.indexof('https://th","*/","*/}","*beforedealhttpsrequest(requestdetail)","*beforesendrequest(requestdetail)","*beforesendresponse(requestdetail,","*onconnecterror(requestdetail,","*onerror(requestdetail,","*true*","+=",".',","...","...,","./myrulepkg/","./rule.j","/*","//","//when","//这里也可以同时加上requestopt","/^win/.test(process.platform);","0)","1.","10.3信任ca证书","10000,","1080","127.0.0.1:8001/index.html","127.0.0.1:8001访问","1编写规则","2,","2.","200,","3,","4,","4.0的主要变化:","4.0,欢迎提供反馈","404","404;","443;","5000);","5s","80,","8001,","8002,","8003,","=","===","=>",">",">=",">关于本机",">证书信任设置",">通用","_re","_req","_req:","_res:","a:","agent","agent\":","agent'","agent')","agent':","agent']","alive',","android","anyproxi","anyproxy',","anyproxy.io","anyproxy.proxycore(options);","anyproxy.proxyserv","anyproxy.proxyserver(options)","anyproxy.proxyserver(options);","anyproxy.utils.certmgr","anyproxy.utils.certmgr.generaterootca((error,","anyproxy.utils.certmgr.generaterootca(callback)","anyproxy.utils.certmgr.ifrootcafileexists()","anyproxy.utils.systemproxymgr","anyproxy.utils.systemproxymgr.disableglobalproxy();","anyproxy.utils.systemproxymgr.enableglobalproxy('127.0.0.1',","anyproxyin","anyproxyins.start();","anyproxy使用require()加载本地规则你可以在参数里传入一个本地的npm包路径或是某个全局安装的npm包","anyproxy可以作为一个npm模块使用整合进其他工具。","anyproxy向客户端发送请求前会调用beforesendresponse并带上参数requestdetail","anyproxy向服务端发送请求前会调用beforesendrequest并带上参数requestdetail","anyproxy在与目标https服务器建立连接的过程中如果发生错误anyproxy会调用这个方法","anyproxy提供了二次开发的能力你可以用js编写自己的规则模块rule来自定义网络请求的处理逻辑。","anyproxy收到https请求时会调用beforedealhttpsrequest并带上参数requestdetail","anyproxy是一个开放式的http代理服务器。","anyproxy调用规则模块beforesendrequest方法由模块做处理返回新的请求参数或返回响应内容","anyproxy默认不对https请求做处理如需看到明文信息需要配置ca证书","apt","at',","attack需要客户端提前信任anyproxy生成的ca","befor","beforedealhttpsrequest","beforedealhttpsrequest(requestdetail)","beforesendrequest","beforesendrequest(requestdetail)","beforesendrespons","beforesendresponse(requestdetail,","body:","body三个字段","body等","body甚至是请求的目标地址等","by']","by:","by:anyproxi","ca","ca方法。","ca按提示扫描二维码即可安装","cert","certdir","certdir);","class:","close","co","code","code)、响应头respons","connect","connection':","connection: