Udostępnij za pośrednictwem


HttpClientHelper.CreateHttpClient(DelegatingHandler[]) Method

Definition

Creates an HttpClient

public virtual System.Net.Http.HttpClient CreateHttpClient (params System.Net.Http.DelegatingHandler[] primaryHandlers);
abstract member CreateHttpClient : System.Net.Http.DelegatingHandler[] -> System.Net.Http.HttpClient
override this.CreateHttpClient : System.Net.Http.DelegatingHandler[] -> System.Net.Http.HttpClient
Public Overridable Function CreateHttpClient (ParamArray primaryHandlers As DelegatingHandler()) As HttpClient

Parameters

primaryHandlers
DelegatingHandler[]

The handlers that will be added to the top of the chain.

Returns

Applies to