Header

Dynamically Updating the Request Header of a HttpClientFactory Generated HttpClient, Part 1

Full source code here. There are some subtle issues in the way I use DI in this post, see here for an alternative if you don’t want to follow this approach