Share via


IotHubServiceClientOptions.HttpClient Property

Definition

The HTTP client to use for all HTTP operations.

public System.Net.Http.HttpClient HttpClient { get; set; }
member this.HttpClient : System.Net.Http.HttpClient with get, set
Public Property HttpClient As HttpClient

Property Value

Remarks

If not provided, an HTTP client will be created for you based on the other settings provided.

If provided, all other HTTP-specific settings (that is Proxy, SslProtocols, and CertificateRevocationCheck) on this class will be ignored and must be specified on the custom HttpClient instance.

Applies to