0.0.2 • Published 5 years ago

whistle.302 v0.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

whistle.forward

whistle转发插件:用于将请求

Usage

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

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

  1. 通过配置whistle规则,转发请求到forward插件,例如

    forward:// www.ifeng.com www.qq.com
    echo.websocket.org/?encoding=text forward://
  2. 查看转发到forward插件的请求

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

![plugin](https://raw.githubusercontent.com/whistle-plugins/whistle.helloworld/master/htdocs/img/helloworld-plugin.png)
  1. 根据需求,可修改拦截到的请求的相关信息(url,host,header,转发平台,erp),修改完成后,点击“发送”按钮,即可将对应请求转发至选中平台。

注: