Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Add IHttpMaxRequestBodySizeFeature.IsReadOnly #858

Merged
merged 1 commit into from
Jun 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down