Language

SocketHttpServerConnection.CreateHttpDataReceiver Method

Definition

Creates an input buffer for a socket connection.

[Android.Runtime.Register("createHttpDataReceiver", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)Lorg/apache/http/io/SessionInputBuffer;", "GetCreateHttpDataReceiver_Ljava_net_Socket_ILorg_apache_http_params_HttpParams_Handler")]
protected virtual Org.Apache.Http.IO.ISessionInputBuffer? CreateHttpDataReceiver(Java.Net.Socket? socket, int buffersize, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("createHttpDataReceiver", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)Lorg/apache/http/io/SessionInputBuffer;", "GetCreateHttpDataReceiver_Ljava_net_Socket_ILorg_apache_http_params_HttpParams_Handler")>]
abstract member CreateHttpDataReceiver : Java.Net.Socket * int * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.IO.ISessionInputBuffer
override this.CreateHttpDataReceiver : Java.Net.Socket * int * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.IO.ISessionInputBuffer

Parameters

socket
Socket

The socket to use for buffer creation.

buffersize
Int32

The requested buffer size. The built-in socket buffer can use a fixed size instead.

params
IHttpParams

The HTTP parameters that configure the connection or buffer.

Returns

A new input buffer.

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