Class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler
Represents the already configured System.Net.Http.HttpMessageHandler to be used when building a ConfigurableHttpClient by the factory and information about the actual configuration.
Inheritance
System.Object
HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public sealed class ConfiguredHttpMessageHandler
Constructors
ConfiguredHttpMessageHandler(HttpMessageHandler, Boolean, Boolean)
Builds a new HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler with the given parameters.
Declaration
public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpMessageHandler | messageHandler | |
System.Boolean | performsAutomaticDecompression | |
System.Boolean | handlesRedirect |
Properties
HandlesRedirects
Whether MessageHandler is configured to handle redirects or not.
Declaration
public bool HandlesRedirects { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MessageHandler
The already configured System.Net.Http.HttpMessageHandler to be used when building a ConfigurableHttpClient by the factory.
Declaration
public HttpMessageHandler MessageHandler { get; }
Property Value
Type | Description |
---|---|
System.Net.Http.HttpMessageHandler |
PerformsAutomaticDecompression
Whether MessageHandler is configured to perform automatic decompression or not.
Declaration
public bool PerformsAutomaticDecompression { get; }
Property Value
Type | Description |
---|---|
System.Boolean |