0.1.1 • Published 7 years ago

whistle.helloworld v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

whistle.helloworld

whistle插件编写的例子,主要功能是显示转发到helloworld的http、https、websocket请求,其它whistle插件的开发方式可以参考该例子 whistle.helloworld

Usage

  1. 先安装启动whistle(v0.8.0+):https://github.com/avwo/whistle
  2. 安装 whistel.helloworld 插件

    $ npm install whistle.helloworld -g
  3. 安装启动whistle,及安装完whistle.helloworld插件后,打开whistle配置页面上方菜单栏的 About 菜单按钮,可以看到whistle已经自动加载好helloworld的插件

    about

  4. 通过配置whistle规则,转发请求到helloworld插件

    helloworld://test www.ifeng.com www.qq.com
    echo.websocket.org/?encoding=text helloworld://test123
![rule](https://raw.githubusercontent.com/whistle-plugins/whistle.helloworld/master/htdocs/img/helloworld-rule.png)
  1. 查看转发到helloworld插件的请求

    启用HTTPS,分别访问如下url:

![plugin](https://raw.githubusercontent.com/whistle-plugins/whistle.helloworld/master/htdocs/img/helloworld-plugin.png)
0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago