Middleware to modify url
I'm trying to modify my HttpClient so it modifies a url before sending. I think I see how to do it but I just want to check as I've never done this.
Also, what is a primary message handler? How is primary different than any other message handler?
9 Replies
the primary message handler is something like HttpClientHandler or SocketHttpHandler
What makes it "primary"
it's the thing that does the work
lol okay
delegating handlers let you inject something in between
Oh perfect
so, in your case, changing the url, doing logging, perf counters, etc.
Then I'm in the right place then. Thanks for the help!
yep