KestrelServerOptions.MaxRequestBufferSize Property

Definition

Caution

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

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.

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

Property Value

Attributes

Remarks

When set to null, the size of the request buffer is unlimited. Defaults to 1,048,576 bytes (1 MB).

Applies to