Thomas Levesque 12/8/2016

Fun with the HttpClient pipeline

Read Original

This technical article details the extensible pipeline architecture of .NET's HttpClient, focusing on the HttpMessageHandler and DelegatingHandler classes. It explains how to chain handlers to inspect or modify HTTP requests and responses, provides code examples for setup, and demonstrates practical use cases like creating stub handlers for unit testing HTTP-dependent code.

Fun with the HttpClient pipeline

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week