AndroidClientHandler.ConnectTimeout Property

Definition

Specifies the connect timeout

The native Java client supports two separate timeouts - one for reading from the connection (ReadTimeout) and another for establishing the connection. This property sets the value of the latter timeout, unless it is set to Zero in which case the native Java client defaults are used.

The default value is 120 seconds.

public TimeSpan ConnectTimeout { get; set; }
member this.ConnectTimeout : TimeSpan with get, set

Property Value

TimeSpan

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to