SocketOutputBuffer Constructors

Definition

Overloads

Name Description
SocketOutputBuffer(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

SocketOutputBuffer(Socket, Int32, IHttpParams)

Initializes a session output buffer for a socket.

SocketOutputBuffer(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

protected SocketOutputBuffer(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.IO.SocketOutputBuffer : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.IO.SocketOutputBuffer

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

SocketOutputBuffer(Socket, Int32, IHttpParams)

Initializes a session output buffer for a socket.

[Android.Runtime.Register(".ctor", "(Ljava/net/Socket;ILorg/apache/http/params/HttpParams;)V", "")]
public SocketOutputBuffer(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.SocketOutputBuffer : Java.Net.Socket * int * Org.Apache.Http.Params.IHttpParams -> Org.Apache.Http.Impl.IO.SocketOutputBuffer

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.

Applies to