Tagged httpclient
One entry carries the tag httpclient, newest first. All tags.
- How do I attach a bearer token to every HttpClient request with a DelegatingHandler?
Override `SendAsync` in a `DelegatingHandler` subclass to set `request.Headers.Authorization`, register the handler `Transient`, and chain `.AddHttpMessageHandler<TheHandler>()` onto the client's `AddHttpClient(...)` registration - never set the header on the client itself.