We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e49e7f1 commit 3fdb615Copy full SHA for 3fdb615
README.md
@@ -35,6 +35,15 @@ Support for weighting those pushes is not yet implemented.
35
Since HTTP/2 requires TLS, `simplehttp2server` checks if `cert.pem` and
36
`key.pem` are present. If not, a self-signed certificate will be generated.
37
38
+# Delays
39
+
40
+`simplehttp2server` can add artifical delays to responses to emulate processing
41
+time. The command line flags `-mindelay` and `-maxdelay` allow you to delay
42
+responses with a random delay form the interval `[minDelay, maxDelay]`.
43
44
+If a request has a `delay` query parameter (like `GET /index.html?delay=4000`),
45
+that delay will take precedence.
46
47
# Download
48
49
`simplehttp2server` is `go get`-able:
0 commit comments