Class CreateHttpClientArgs (1.60.0)

public class CreateHttpClientArgs

Arguments for creating a HTTP client.

Inheritance

object > CreateHttpClientArgs

Namespace

GoogleApisHttp

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
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
bool

Initializers

public IList<IConfigurableHttpClientInitializer> Initializers { get; }

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

Property Value
Type Description
IListIConfigurableHttpClientInitializer

Extension Method