Share via


IHttpMaxRequestBodySizeFeature Interface

Definition

Feature to inspect and modify the maximum request body size for a single request.

public interface class IHttpMaxRequestBodySizeFeature
public interface IHttpMaxRequestBodySizeFeature
type IHttpMaxRequestBodySizeFeature = interface
Public Interface IHttpMaxRequestBodySizeFeature

Properties

IsReadOnly

Indicates whether MaxRequestBodySize is read-only. If true, this could mean that the request body has already been read from or that UpgradeAsync() was called.

MaxRequestBodySize

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.

Applies to