public class CreateHttpClientArgs : objectArguments for creating a HTTP client.
Namespace
Google.Apis.HttpAssembly
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 | |
|---|---|
| Type | Description |
String |
|
GoogleApiClientHeader
public string GoogleApiClientHeader { get; set; }Gets or sets the value for the x-goog-api-client header
| Property Value | |
|---|---|
| Type | Description |
String |
|
GZipEnabled
public bool GZipEnabled { get; set; }Gets or sets whether GZip is enabled.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
Initializers
public IList<IConfigurableHttpClientInitializer> Initializers { get; }Gets a list of initializers to initialize the HTTP client instance.
| Property Value | |
|---|---|
| Type | Description |
IList<IConfigurableHttpClientInitializer> |
|