Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Jul 7, 2016
1 parent c86fc08 commit 5539408
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ Since HTTP/2 requires TLS, `simplehttp2server` checks if `cert.pem` and

`simplehttp2server` can add artifical delays to responses to emulate processing
time. The command line flags `-mindelay` and `-maxdelay` allow you to delay
responses with a random delay form the interval `[minDelay, maxDelay]`.
responses with a random delay form the interval `[minDelay, maxDelay]` in milliseconds.

If a request has a `delay` query parameter (like `GET /index.html?delay=4000`),
that delay will take precedence.

# Other features

* Support for serving Single Page Applications (SPAs) using the `-spa` flag
* Support for throttling network throughput *per reqest* using the `-throttle` flag

# Download

`simplehttp2server` is `go get`-able:
Expand Down

0 comments on commit 5539408

Please sign in to comment.