Sets the keep-alive duration for idle connections in the underlying [ConnectionPool].
public Unit keepAliveDuration(Duration keepAliveDuration)Sets the keep-alive duration for idle connections in the underlying [ConnectionPool]. If this is set, then [maxIdleConnections] must also be set. If unset, then OkHttp's default is used.
| Name | Type | Description |
|---|---|---|
keepAliveDuration* | Duration? |