RequestSizeLimitFilter RequestSizeLimitFilter RequestSizeLimitFilter Class

Definition

A filter that sets the MaxRequestBodySize to the specified Bytes.

public class RequestSizeLimitFilter : Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter, Microsoft.AspNetCore.Mvc.IRequestSizePolicy
type RequestSizeLimitFilter = class
    interface IAuthorizationFilter
    interface IFilterMetadata
    interface IRequestSizePolicy
Public Class RequestSizeLimitFilter
Implements IAuthorizationFilter, IRequestSizePolicy
Inheritance
RequestSizeLimitFilterRequestSizeLimitFilterRequestSizeLimitFilter
Implements

Constructors

RequestSizeLimitFilter(ILoggerFactory) RequestSizeLimitFilter(ILoggerFactory) RequestSizeLimitFilter(ILoggerFactory)

Creates a new instance of RequestSizeLimitFilter.

Properties

Bytes Bytes Bytes

Methods

OnAuthorization(AuthorizationFilterContext) OnAuthorization(AuthorizationFilterContext) OnAuthorization(AuthorizationFilterContext)

Sets the MaxRequestBodySize to Bytes.

Applies to