HttpConnectionParams.GetSoTimeout(IHttpParams) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default socket timeout (SO_TIMEOUT
) in milliseconds which is the
timeout for waiting for data.
[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
Parameters
- params
- IHttpParams
Returns
timeout in milliseconds
- Attributes
Remarks
Returns the default socket timeout (SO_TIMEOUT
) in milliseconds which is the timeout for waiting for data. A timeout value of zero is interpreted as an infinite timeout. This value is used when no socket timeout is set in the method parameters.
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.