I want to check my http headers that are sent via a SoapClient.
Yet it only offers quick functions to fetch the Soap headers:
/**
* Returns the SOAP headers from the last request
* @link http://php.net/manual/en/soapclient.getlastrequestheaders.php
* @return string The last SOAP request headers.
* @since 5.0.1
*/
public function __getLastRequestHeaders () {}
I am not interested in those.
How can I find out what http headers have been used for the request on the HTTP level?
Xdebug loses context at the _call
and the client doesn't seem able to to fetch that information by itself.
How to proceed?