Show / Hide Table of Contents

Class CreateHttpClientArgs

Arguments for creating a HTTP client.

Inheritance
System.Object
CreateHttpClientArgs
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 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
System.String

GoogleApiClientHeader

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

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

GZipEnabled

Gets or sets whether GZip is enabled.

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

Initializers

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

Declaration
public IList<IConfigurableHttpClientInitializer> Initializers { get; }
Property Value
Type Description
System.Collections.Generic.IList<IConfigurableHttpClientInitializer>

Extension Methods

Utilities.ThrowIfNull<T>(T, String)
In This Article
Back to top