Language

HttpConnectionParams.SetSocketBufferSize(IHttpParams, Int32) Method

Definition

Caution

deprecated

[Android.Runtime.Register("setSocketBufferSize", "(Lorg/apache/http/params/HttpParams;I)V", "")]
[System.Obsolete("deprecated")]
public static void SetSocketBufferSize(Org.Apache.Http.Params.IHttpParams? params, int size);
[<Android.Runtime.Register("setSocketBufferSize", "(Lorg/apache/http/params/HttpParams;I)V", "")>]
[<System.Obsolete("deprecated")>]
static member SetSocketBufferSize : Org.Apache.Http.Params.IHttpParams * int -> unit

Parameters

params
IHttpParams

The parameter collection to update. Must not be null.

size
Int32

The requested socket buffer size, in bytes. This is a hint; Android's socket input and output buffers use 8192 bytes and leave the kernel buffer size unchanged.

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