KestrelServerOptions.ResponseHeaderEncodingSelector Property

Definition

Gets or sets a callback that returns the Encoding to encode the value for the specified response header or trailer name, or null to use the default ASCIIEncoding.

public Func<string,System.Text.Encoding?> ResponseHeaderEncodingSelector { get; set; }
member this.ResponseHeaderEncodingSelector : Func<string, System.Text.Encoding> with get, set
Public Property ResponseHeaderEncodingSelector As Func(Of String, Encoding)

Property Value

Applies to