SocketHttpServerConnection.CreateHttpDataReceiver Method

Definition

Creates the input buffer used by this 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 bind or use for buffer creation.

buffersize
Int32

The size of the session buffer.

params
IHttpParams

The HTTP parameters that configure the connection or buffer.

Returns

The input buffer for the socket connection.

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