Export (0) Print
Expand All

HttpClientFactory.Create Method (, [])

Creates a new instance of the HttpClient.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public static HttpClient Create(
	HttpMessageHandler innerHandler,
	params DelegatingHandler[] handlers
)

Parameters

innerHandler
Type: HttpMessageHandler

The inner handler which is responsible for processing the HTTP response messages.

handlers
Type: DelegatingHandler[]

The list of HTTP handler that delegates the processing of HTTP response messages to another handler.

Return Value

Type: HttpClient
A new instance of the HttpClient.
Show:
© 2014 Microsoft