SocketConnectionFactoryOptions Class

Definition

public class SocketConnectionFactoryOptions
type SocketConnectionFactoryOptions = class
Public Class SocketConnectionFactoryOptions
Inheritance
SocketConnectionFactoryOptions

Constructors

SocketConnectionFactoryOptions()

Create a new instance.

Properties

IOQueueCount

The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.

MaxReadBufferSize

Gets or sets the maximum unconsumed incoming bytes the transport will buffer.

MaxWriteBufferSize

Gets or sets the maximum outgoing bytes the transport will buffer before applying write backpressure.

UnsafePreferInlineScheduling

Inline application and transport continuations instead of dispatching to the threadpool.

WaitForDataBeforeAllocatingBuffer

Wait until there is data available to allocate a buffer. Setting this to false can increase throughput at the cost of increased memory usage.

Applies to