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.

C#
public Func<string,System.Text.Encoding?> ResponseHeaderEncodingSelector { get; set; }

Property Value

Applies to

Produkt Versiounen
ASP.NET Core 6.0, 7.0, 8.0, 9.0