Merge branch 'rel/2.0.0-preview2' into dev

This commit is contained in:
Stephen Halter 2017-06-06 15:28:22 -07:00
commit c06ed8c29a
1 changed files with 7 additions and 0 deletions

View File

@ -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.