Skip to content
Discussion options

You must be logged in to vote

Another way would be to implement a DelegatingHandler and configure the the default HttpClient (configured via services.AddHttpClient() iirc) to use it. So it's automatically used for every HttpClient request made by the default HttpClient.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@richardbartley
Comment options

Answer selected by richardbartley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants