1 个不稳定版本
0.1.0 | 2019年4月14日 |
---|
#85 in #chunks
13KB
254 行
Scrooge
一个代理HTTP请求并将响应以特定大小的块流式的服务器。
实现基于 hyper_reverse_proxy.
使用方法
可用的命令行参数
USAGE:
scrooge [OPTIONS] <CONFIG>
FLAGS:
--help Prints help information
-V, --version Prints version information
OPTIONS:
-h, --host <host> Set host to bind to [default: [::1]]
-p, --port <port> Set port [default: 8080]
ARGS:
<CONFIG> Configuration file
配置文件
示例配置文件
upstream_url = "http://127.0.0.1:8888"
utf8_body_limit = "1MB"
依赖项
~14MB
~249K SLoC