HeaderParsingOptions.DefaultValues 属性

定义

获取或设置给定标头不存在时的默认标头值。

public System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Primitives.StringValues> DefaultValues { get; set; }
member this.DefaultValues : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Primitives.StringValues> with get, set
Public Property DefaultValues As IDictionary(Of String, StringValues)

属性值

注解

键表示标头名称。

适用于