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

GoogleApiClientHeader

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

Declaration
public string GoogleApiClientHeader { 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

Initializers

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

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

Extension Methods

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