diff --git a/src/Microsoft.AspNetCore.Http.Features/IHttpMaxRequestBodySizeFeature.cs b/src/Microsoft.AspNetCore.Http.Features/IHttpMaxRequestBodySizeFeature.cs index 114009b0..c02000c7 100644 --- a/src/Microsoft.AspNetCore.Http.Features/IHttpMaxRequestBodySizeFeature.cs +++ b/src/Microsoft.AspNetCore.Http.Features/IHttpMaxRequestBodySizeFeature.cs @@ -8,6 +8,13 @@ namespace Microsoft.AspNetCore.Http.Features /// public interface IHttpMaxRequestBodySizeFeature { + /// + /// Indicates whether is read-only. + /// If true, this could mean that the request body has already been read from + /// or that was called. + /// + bool IsReadOnly { get; } + /// /// The maximum allowed size of the current request body in bytes. /// When set to null, the maximum request body size is unlimited.