# idleTimeout property

Duration idleTimeout
read / write

Gets or sets the timeout used for idle keep-alive connections. If no further request is seen within idleTimeout after the previous request was completed, the connection is dropped.

Default is 120 seconds.

Note that it may take up to `2 * idleTimeout` before a idle connection is aborted.

To disable, set idleTimeout to `null`.

## Implementation

    Duration idleTimeout