2020-12-06 10:46:04 +01:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Configuration.Models
|
2020-03-16 14:02:08 +01:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Typed configuration options for runtime settings.
|
|
|
|
|
/// </summary>
|
2021-06-24 08:47:37 +02:00
|
|
|
[UmbracoOptions(Constants.Configuration.ConfigRuntime)]
|
2020-08-20 08:24:23 +01:00
|
|
|
public class RuntimeSettings
|
2020-03-16 14:02:08 +01:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the maximum query string length.
|
|
|
|
|
/// </summary>
|
2020-08-20 08:24:23 +01:00
|
|
|
public int? MaxQueryStringLength { get; set; }
|
2020-03-16 14:02:08 +01:00
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
2021-09-15 13:40:08 +02:00
|
|
|
/// Gets or sets a value for the maximum request length in kb.
|
2020-12-06 10:46:04 +01:00
|
|
|
/// </summary>
|
2020-08-20 08:24:23 +01:00
|
|
|
public int? MaxRequestLength { get; set; }
|
2020-03-16 14:02:08 +01:00
|
|
|
}
|
|
|
|
|
}
|