SocketInputBuffer Constructors
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.
Overloads
| Name | Description |
|---|---|
| SocketInputBuffer(IntPtr, JniHandleOwnership) |
Initializes a managed wrapper for the specified Java object. |
| SocketInputBuffer(Socket, Int32, IHttpParams) |
Initializes a session input buffer for a socket. |
SocketInputBuffer(IntPtr, JniHandleOwnership)
Initializes a managed wrapper for the specified Java object.
protected SocketInputBuffer(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.IO.SocketInputBuffer : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.IO.SocketInputBuffer
Parameters
- javaReference
-
IntPtr
nativeint
The JNI handle of the Java object.
- transfer
- JniHandleOwnership
The ownership transfer mode for the JNI handle.
Remarks
Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.
Applies to
SocketInputBuffer(Socket, Int32, IHttpParams)
Initializes a session input buffer for a socket.
[Android.Runtime.Register(".ctor", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)V", "")]
public SocketInputBuffer(Java.Net.Socket? socket, int buffersize, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register(".ctor", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)V", "")>]
new Org.Apache.Http.Impl.IO.SocketInputBuffer : Java.Net.Socket * int * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.Impl.IO.SocketInputBuffer
Parameters
- socket
- Socket
The socket to bind to the session buffer.
- buffersize
- Int32
A weak hint only; Android uses an 8192-byte heap buffer and leaves the kernel buffer unchanged.
- params
- IHttpParams
The HTTP parameters that configure the buffer or parser.
- Attributes
Remarks
Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.