KestrelServerOptions.RequestHeaderEncodingSelector 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 decode the value for the specified request header name,
or null
to use the default UTF8Encoding.
public:
property Func<System::String ^, System::Text::Encoding ^> ^ RequestHeaderEncodingSelector { Func<System::String ^, System::Text::Encoding ^> ^ get(); void set(Func<System::String ^, System::Text::Encoding ^> ^ value); };
public Func<string,System.Text.Encoding> RequestHeaderEncodingSelector { get; set; }
public Func<string,System.Text.Encoding?> RequestHeaderEncodingSelector { get; set; }
member this.RequestHeaderEncodingSelector : Func<string, System.Text.Encoding> with get, set
Public Property RequestHeaderEncodingSelector As Func(Of String, Encoding)