Merge branch 'rel/2.0.0-preview2' into dev
This commit is contained in:
commit
c06ed8c29a
|
|
@ -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