User agents can only be specified in static fashion. Even though we added the ability to specify additional headers in
https://github.com/palantir/conjure-typescript-runtime/pull/131, sometimes it is not enough. Sometimes we create a
client in one context - but then re-use the same client in a different context.
After this PR
==COMMIT_MSG==
Add ability to dynamically specify headers.
==COMMIT_MSG==
Before this PR
User agents can only be specified in static fashion. Even though we added the ability to specify additional headers in https://github.com/palantir/conjure-typescript-runtime/pull/131, sometimes it is not enough. Sometimes we create a client in one context - but then re-use the same client in a different context.
After this PR
==COMMIT_MSG== Add ability to dynamically specify headers. ==COMMIT_MSG==
Possible downsides?
"More than one obvious way to do it"