Dela via


SocketTransportOptions.MaxWriteBufferSize Property

Definition

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

A value of null or 0 disables backpressure entirely allowing unlimited buffering. Unlimited server buffering is a security risk given untrusted clients.

public:
 property Nullable<long> MaxWriteBufferSize { Nullable<long> get(); void set(Nullable<long> value); };
public long? MaxWriteBufferSize { get; set; }
member this.MaxWriteBufferSize : Nullable<int64> with get, set
Public Property MaxWriteBufferSize As Nullable(Of Long)

Property Value

Remarks

Defaults to 64 KiB.

Applies to