Language

HttpConnectionParams.GetSocketBufferSize(IHttpParams) Method

Definition

Caution

deprecated

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

Parameters

params
IHttpParams

The parameter collection to read. Must not be null.

Returns

The configured socket buffer size hint, in bytes, or -1 if it is not set. Android's socket input and output buffers ignore this hint and use 8192 bytes.

Attributes

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