Class CreateHttpClientArgs (1.50.0)

public class CreateHttpClientArgs : object

Arguments for creating a HTTP client.

Inheritance

Object > CreateHttpClientArgs

Namespace

Google.Apis.Http

Assembly

Google.Apis.Core.dll

Constructors

CreateHttpClientArgs()

public CreateHttpClientArgs()

Constructs a new argument instance.

Properties

ApplicationName

public string ApplicationName { get; set; }

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

Property Value
TypeDescription
String

GoogleApiClientHeader

public string GoogleApiClientHeader { get; set; }

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

Property Value
TypeDescription
String

GZipEnabled

public bool GZipEnabled { get; set; }

Gets or sets whether GZip is enabled.

Property Value
TypeDescription
Boolean

Initializers

public IList<IConfigurableHttpClientInitializer> Initializers { get; }

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

Property Value
TypeDescription
IList<IConfigurableHttpClientInitializer>

Extension Method