Add IHttpMaxRequestBodySizeFeature.IsReadOnly (#858)
This commit is contained in:
parent
300d69e644
commit
2176af7edd
|
|
@ -8,6 +8,13 @@ namespace Microsoft.AspNetCore.Http.Features
|
|||
/// </summary>
|
||||
public interface IHttpMaxRequestBodySizeFeature
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates whether <see cref="MaxRequestBodySize"/> is read-only.
|
||||
/// If true, this could mean that the request body has already been read from
|
||||
/// or that <see cref="IHttpUpgradeFeature.UpgradeAsync"/> was called.
|
||||
/// </summary>
|
||||
bool IsReadOnly { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum allowed size of the current request body in bytes.
|
||||
/// When set to null, the maximum request body size is unlimited.
|
||||
|
|
|
|||
Loading…
Reference in New Issue