Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpClientFactory Class

Represents the factory for creating new instance of HttpClient.

System.Object
  System.Net.Http.HttpClientFactory

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpClientFactory =  class end

The HttpClientFactory type exposes the following members.

  NameDescription
Public methodStatic memberCreate(DelegatingHandler[])Creates a new instance of the HttpClient.
Public methodStatic memberCreate(HttpMessageHandler, DelegatingHandler[])Creates a new instance of the HttpClient.
Public methodStatic memberCreatePipelineCreates a new instance of the HttpClient which should be pipelined.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.