Closed jwulf closed 1 month ago
Extend the constructor configuration parameter signature to allow middleware functions to be passed in, then add them to the Got beforeRequest Hooks.
This will allow users to do custom header setting, including completely replacing the authorization header (this could be one way of addressing https://github.com/camunda/camunda-8-js-sdk/issues/246).
Extend the constructor configuration parameter signature to allow middleware functions to be passed in, then add them to the Got beforeRequest Hooks.
This will allow users to do custom header setting, including completely replacing the authorization header (this could be one way of addressing https://github.com/camunda/camunda-8-js-sdk/issues/246).