Dela via


KestrelServerOptions.RequestHeaderEncodingSelector Property

Definition

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)

Property Value

Applies to