Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Commit 2627f2f

Browse files
committed
Add possible options for web-module:
- `address` - (string) host and port - `disabled` - (bool) to disable server - `read_timeout` - (duration) is the maximum duration for reading the entire request, including the body - `read_header_timeout` - (duration) is the amount of time allowed to read request headers - `write_timeout` - (duration) is the maximum duration before timing out writes of the response - `idle_timeout` - (duration) is the maximum amount of time to wait for the next request when keep-alives are enabled - `max_header_bytes` - (int) controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line - `shutdown_timeout` - (duration) context timeout for stopping server
1 parent 34f0626 commit 2627f2f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,16 @@ API_ADDRESS=string
313313
API_SHUTDOWN_TIMEOUT=duration
314314
```
315315

316+
**Possible options**:
317+
- `address` - (string) host and port
318+
- `disabled` - (bool) to disable server
319+
- `read_timeout` - (duration) is the maximum duration for reading the entire request, including the body
320+
- `read_header_timeout` - (duration) is the amount of time allowed to read request headers
321+
- `write_timeout` - (duration) is the maximum duration before timing out writes of the response
322+
- `idle_timeout` - (duration) is the maximum amount of time to wait for the next request when keep-alives are enabled
323+
- `max_header_bytes` - (int) controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line
324+
- `shutdown_timeout` - (duration) context timeout for stopping server
325+
316326
## Workers Module
317327

318328
Simple abstraction for control background jobs.

0 commit comments

Comments
 (0)