SocketsHttpHandler.ResponseHeaderEncodingSelector Property

Definition

Gets or sets a callback that selects the Encoding to decode response header values.

public:
 property System::Net::Http::HeaderEncodingSelector<System::Net::Http::HttpRequestMessage ^> ^ ResponseHeaderEncodingSelector { System::Net::Http::HeaderEncodingSelector<System::Net::Http::HttpRequestMessage ^> ^ get(); void set(System::Net::Http::HeaderEncodingSelector<System::Net::Http::HttpRequestMessage ^> ^ value); };
public System.Net.Http.HeaderEncodingSelector<System.Net.Http.HttpRequestMessage>? ResponseHeaderEncodingSelector { get; set; }
member this.ResponseHeaderEncodingSelector : System.Net.Http.HeaderEncodingSelector<System.Net.Http.HttpRequestMessage> with get, set
Public Property ResponseHeaderEncodingSelector As HeaderEncodingSelector(Of HttpRequestMessage)

Property Value

HeaderEncodingSelector<HttpRequestMessage>

The header encoding selector callback that selects the Encoding to decode the value for the specified response header name, or null to indicate the default behavior.

Applies to