AddHttpMessageHandler
AddHttpMessageHandler is a method in the .NET framework used to configure the `HttpClient` pipeline. It allows developers to register custom handlers that will process HTTP requests and responses before they are sent or received. These handlers are typically instances of `DelegatingHandler`.
When you call AddHttpMessageHandler, you are essentially adding a step to the chain of responsibility for HTTP
The handlers are executed in the order they are added. A `DelegatingHandler` can invoke the next handler
This extensibility makes `HttpClient` highly customizable and robust. For example, you might add a logging handler