共用方式為


HttpConnectionParams.GetSoTimeout(IHttpParams) 方法

定義

傳回預設套接字逾時 (SO_TIMEOUT) 以毫秒為單位,這是等候數據的逾時。

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

參數

params
IHttpParams

傳回

以毫秒為單位的逾時

屬性

備註

傳回預設套接字逾時 (SO_TIMEOUT) 以毫秒為單位,這是等候數據的逾時。 零的逾時值會解譯為無限逾時。 當方法參數中未設定套接字逾時時,就會使用這個值。

org.apache.http.params.HttpConnectionParams.getSoTimeout(org.apache.http.params.HttpParams)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於