Dela via


KestrelServerLimits.MaxResponseBufferSize Property

Definition

Gets or sets the maximum size of the response buffer before write calls begin to block or return tasks that don't complete until the buffer size drops below the configured limit. Defaults to 65,536 bytes (64 KB).

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

Property Value

Remarks

When set to null, the size of the response buffer is unlimited. When set to zero, all write calls will block or return tasks that don't complete until the entire response buffer is flushed.

Applies to