IHttpMaxRequestBodySizeFeature.MaxRequestBodySize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The maximum allowed size of the current request body in bytes. When set to null, the maximum request body size is unlimited. This cannot be modified after the reading the request body has started. This limit does not affect upgraded connections which are always unlimited.
public:
property Nullable<long> MaxRequestBodySize { Nullable<long> get(); void set(Nullable<long> value); };
public long? MaxRequestBodySize { get; set; }
member this.MaxRequestBodySize : Nullable<int64> with get, set
Public Property MaxRequestBodySize As Nullable(Of Long)
Property Value
Remarks
Defaults to the server's global max request body size limit.