Edit

Share via


HttpMessageHandlerFactory Class

Definition

Represents http message handlers for a factory.

public class HttpMessageHandlerFactory
Inheritance
HttpMessageHandlerFactory

Constructors

HttpMessageHandlerFactory()

Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Type[])

Initializes a new instance of the HttpMessageHandlerFactory class with specified handler.

Methods

Create(HttpMessageHandler)

Creates a new HTTP message handler.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnCreate(HttpMessageHandler)

Raises an event when a new HTTP message is created.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET 8 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1