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 => client.idleTimeout;
  1. @override
set idleTimeout (Duration it)
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 it) => client.idleTimeout = it;