HttpClientFactory
Creates a new HttpClient instance configured with the handlers provided and with an
HttpClientHandler as the innermost handler.
Creates a new HttpClient instance configured with the handlers provided and with the
provided innerHandler as the innermost handler.
public static HttpMessageHandler CreatePipeline(HttpMessageHandler innerHandler, IEnumerable<DelegatingHandler> handlers)
Creates an instance of an HttpMessageHandler using the DelegatingHandler instances
provided by handlers. The resulting pipeline can be used to manually create HttpClient
or HttpMessageInvoker instances with customized message handlers.