ContentSafetyServiceConfiguration.HttpClient Property

Definition

Gets the HttpClient that should be used when communicating with the Azure AI Foundry Evaluation service.

public:
 property System::Net::Http::HttpClient ^ HttpClient { System::Net::Http::HttpClient ^ get(); };
public System.Net.Http.HttpClient? HttpClient { get; }
member this.HttpClient : System.Net.Http.HttpClient
Public ReadOnly Property HttpClient As HttpClient

Property Value

Remarks

While supplying an HttpClient is optional, it is recommended to supply one that is configured with robust resilience and retry policies.

Applies to