Class HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions (1.60.0)

public sealed class HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions

Specifies the configuration options for a message handler.

Inheritance

object > HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions

Namespace

GoogleApisHttp

Assembly

Google.Apis.Core.dll

Properties

MayHandleRedirects

public bool MayHandleRedirects { get; }

Whether the message handler built from these options may handle redirects or not. Redirects that are not handled should bubble up the handlers chain. If set to true, the message handler may or may not handle redirects. If set to false, the message handler must not handle redirects.

Property Value
Type Description
bool

MayPerformDecompression

public bool MayPerformDecompression { get; }

Whether the message handler built from these options may perform automatic decompression or not. If set to true, the message handler may or may not perform automatic decompression. If set to false, the message handler must not perform automatic decompression.

Property Value
Type Description
bool

Extension Method