Partager via


HttpConnectionParams.GetConnectionTimeout(IHttpParams) Method

Definition

Returns the timeout until a connection is etablished.

[Android.Runtime.Register("getConnectionTimeout", "(Lorg/apache/http/params/HttpParams;)I", "")]
public static int GetConnectionTimeout (Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("getConnectionTimeout", "(Lorg/apache/http/params/HttpParams;)I", "")>]
static member GetConnectionTimeout : Org.Apache.Http.Params.IHttpParams -> int

Parameters

params
IHttpParams

Returns

timeout in milliseconds.

Attributes

Remarks

Returns the timeout until a connection is etablished. A value of zero means the timeout is not used. The default value is zero.

Java documentation for org.apache.http.params.HttpConnectionParams.getConnectionTimeout(org.apache.http.params.HttpParams).

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