File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Delayserver
2
2
3
- Delayserver is a webserver that listens on localhost on port 8080 for incoming
3
+ Delayserver is a web server that listens on localhost port 8080 for incoming
4
4
connections and waits for the requested duration before responding. It's good
5
5
for simulating slow servers and delayed responses.
6
6
@@ -12,19 +12,19 @@ In the delayserver folder run:
12
12
cargo run delayserver
13
13
```
14
14
15
- You can alternatively install the programm locally so it's always available in PATH:
15
+ You can alternatively install the program locally so it's always available in PATH:
16
16
17
17
```
18
18
cargo install --path .
19
19
```
20
20
21
- Delay server works by issuing a http GET request in the format:
21
+ Delay server works by issuing a http GET request in the format:
22
22
23
23
```
24
24
http://localhost:8080/[delay in ms]/[UrlEncoded meesage]
25
25
```
26
26
27
- On reception, it immidiately reports the following to the console:
27
+ On reception, it immediately reports the following to the console:
28
28
29
29
```
30
30
{Message #} - {delay in ms}: {message}
You can’t perform that action at this time.
0 commit comments