1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public sealed class HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions

Specifies the configuration options for a message handler.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Apis.Http](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.md.txt)

## 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

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)