Show / Hide Table of Contents

Class CreateHttpClientArgs

Arguments for creating a HTTP client.

Inheritance
object
CreateHttpClientArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public class CreateHttpClientArgs

Constructors

CreateHttpClientArgs()

Constructs a new argument instance.

Declaration
public CreateHttpClientArgs()

Properties

ApplicationName

Gets or sets the application name that is sent in the User-Agent header.

Declaration
public string ApplicationName { get; set; }
Property Value
Type Description
string

GZipEnabled

Gets or sets whether GZip is enabled.

Declaration
public bool GZipEnabled { get; set; }
Property Value
Type Description
bool

GoogleApiClientHeader

Gets or sets the value for the x-goog-api-client header

Declaration
public string GoogleApiClientHeader { get; set; }
Property Value
Type Description
string

Initializers

Gets a list of initializers to initialize the HTTP client instance.

Declaration
public IList<IConfigurableHttpClientInitializer> Initializers { get; }
Property Value
Type Description
IList<IConfigurableHttpClientInitializer>

UniverseDomain

The universe domain that will be included as part of HttpRequestMessage options that may be used by the credential, if any, to validate against its own universe domain. May be null in which case no universe domain will be included in the request.

Declaration
public string UniverseDomain { get; set; }
Property Value
Type Description
string

Extension Methods

Utilities.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX