SocketHttpClientConnection.CreateSessionInputBuffer 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.
Creates an input buffer for a socket connection.
[Android.Runtime.Register("createSessionInputBuffer", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)Lorg/apache/http/io/SessionInputBuffer;", "GetCreateSessionInputBuffer_Ljava_net_Socket_ILorg_apache_http_params_HttpParams_Handler")]
protected virtual Org.Apache.Http.IO.ISessionInputBuffer? CreateSessionInputBuffer(Java.Net.Socket? socket, int buffersize, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("createSessionInputBuffer", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)Lorg/apache/http/io/SessionInputBuffer;", "GetCreateSessionInputBuffer_Ljava_net_Socket_ILorg_apache_http_params_HttpParams_Handler")>]
abstract member CreateSessionInputBuffer : Java.Net.Socket * int * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.IO.ISessionInputBuffer
override this.CreateSessionInputBuffer : 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.