how to setup authorization?
Closed this issue · 1 comments
lvshiwei commented
Foundational http request message below:
Http 1.1
...headers...
Authorization: Basic [Base64 encoded with user name : password...]
In this situation, how to setup "Authorization" header by SoapHttpClient?
thank you very much
pmorelli92 commented
Hi @lvshiwei ! Sorry for the delay on this.
The SoapHttpClient is just a wrapper of the HttpClient.
So when you instantiate the SoapHttpClient you can customise the underlying HttpClient to add the header you need :)