idleTimeout property

  1. @override
Duration get idleTimeout
override

Gets and sets the idle timeout of non-active persistent (keep-alive) connections.

The default value is 15 seconds.

Implementation

@override
Duration get idleTimeout => _httpClient.idleTimeout;
  1. @override
set idleTimeout (Duration value)
override

Gets and sets the idle timeout of non-active persistent (keep-alive) connections.

The default value is 15 seconds.

Implementation

@override
set idleTimeout(Duration value) => _httpClient.idleTimeout = value;