Bagikan melalui


CorsOptions.MaxAgeInSeconds Property

Definition

Gets or sets the duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes.

[Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")]
public long? MaxAgeInSeconds { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")>]
member this.MaxAgeInSeconds : Nullable<int64> with get, set
Public Property MaxAgeInSeconds As Nullable(Of Long)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to