共用方式為


KestrelServerOptions.RequestHeaderEncodingSelector 屬性

定義

取得或設定回呼,傳回 Encoding 以解碼指定之要求標頭名稱的值,或使用 null 預設 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)

屬性值

適用於