From c5058dc23dcc32534102a6d5b10e043a31402887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=A0=E9=87=8C?= Date: Mon, 1 Sep 2014 17:19:30 +0800 Subject: [PATCH] update readme --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c52562c..14f656c 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,10 @@ Usage How to write your own rule file ------------------- +* with rule file, you can modify a request at any stage, no matter it's before sending or after servers' responding. +* actually ruleFile.js is a module for Nodejs, feel free to include your own modules. * ``anyproxy --rule /path/to/ruleFile.js`` -* actually ruleFile.js is a module for Nodejs -* more samples: [https://github.com/alipay-ct-wd/anyproxy/tree/master/rule_sample](https://github.com/alipay-ct-wd/anyproxy/tree/master/rule_sample) +* you may learn how it works by our samples: [https://github.com/alipay-ct-wd/anyproxy/tree/master/rule_sample](https://github.com/alipay-ct-wd/anyproxy/tree/master/rule_sample) * rule file scheme ```javascript module.exports = { @@ -98,7 +99,6 @@ module.exports = { }; ``` - Using https features ---------------- ### install openssl @@ -132,10 +132,6 @@ new proxy.proxyServer("http","8001", "localhost" ,"path/to/rule/file"); #### clear all the temperary certificates * ``anyproxy --clear`` -#### map file to local - -* a sample schema of ruls.js is as follows - ## Contact * Please feel free to raise any issue about this project, or give us some advice on this doc. :)