Attributes#
| Attribute | Type | Description |
|---|---|---|
port | NotRequired[int] | 0 (the default): any free port. |
host | NotRequired[str] | Every interface by default. |
graceful_shutdown_timeout | NotRequired[DurationInput] | How long requests in flight may run once the server closes (20s). |
keep_alive_timeout | NotRequired[DurationInput] | How long a connection may be idle between requests (Node's
|
headers_timeout | NotRequired[DurationInput] | How long a request head may take to arrive (Node's
|
request_timeout | NotRequired[DurationInput] | How long a whole request (head and body) may take to arrive (Node's
|
websocket_max_message_size | NotRequired[int] | The longest WebSocket message a client may send (100 MiB, as |
websocket_per_message_deflate | NotRequired[bool | PerMessageDeflate] | Accept WebSocket clients' |
On This Page
Attributes