KestrelServerOptions.MaxRequestBufferSize KestrelServerOptions.MaxRequestBufferSize KestrelServerOptions.MaxRequestBufferSize Property

Definition

Warning

This API is now obsolete.

This property is obsolete and will be removed in a future version. Use Limits.MaxRequestBufferSize instead.

Gets or sets the maximum size of the request buffer.

[System.Obsolete("This property is obsolete and will be removed in a future version. Use Limits.MaxRequestBufferSize instead.")]
public Nullable<long> MaxRequestBufferSize { get; set; }
member this.MaxRequestBufferSize : Nullable<int64> with get, set
Public Property MaxRequestBufferSize As Nullable(Of Long)

Property Value

Remarks

When set to null, the size of the request buffer is unlimited.

Defaults to 1,048,576 bytes (1 MB).

Applies to