KestrelServerOptions.ResponseHeaderEncodingSelector Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)