#http-request #response #proxy #chunks #size #requests #stream

bin+lib scrooge

A server that proxy HTTP requests and stream the responses in chunks of a specific size

1 unstable release

0.1.0 Apr 14, 2019

#94 in #chunks

MIT license

13KB
254 lines

Scrooge

A server that proxy HTTP requests and stream the responses in chunks of a specific size.

The implementation is based on hyper_reverse_proxy.

Usage

The available command line arguments:

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

Configuration File

Sample configuration file:

upstream_url = "http://127.0.0.1:8888"
utf8_body_limit = "1MB"

Dependencies

~11–20MB
~279K SLoC