clue / reactphp-soap

Simple, async SOAP webservice client, built on top of ReactPHP.
https://clue.engineering/2020/announcing-reactphp-soap-2
MIT License
64 stars 25 forks source link

Add `withHeaders()` method to add custom SOAP headers #57

Closed KarimGeiger closed 3 years ago

KarimGeiger commented 3 years ago

This allows setting the soap headers, e.g. for authentication purposes. - See #43

SimonFrings commented 3 years ago

@KarimGeiger Thanks for looking into this :+1:

Could you add some automated tests to verify this works as expected?

KarimGeiger commented 3 years ago

@SimonFrings Thanks for the quick response! I've now added a test case, as well as included the new method in the README.