HttpClientHelper.CreateHttpClient(DelegatingHandler[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.