Connection: Keep-alive is now configurable - BUT NOW WORKING

PHP is unable to change Connection type, this configuration is quite missleading for SoapServer, but still working for SoapClient
This commit is contained in:
Petr Bechyně
2016-11-24 12:47:01 +01:00
parent 1224f5f40f
commit 51d1abab48
2 changed files with 23 additions and 10 deletions

View File

@ -57,6 +57,7 @@ class SoapOptionsBuilder
$soapOptions = new SoapOptions(
SoapOptions::SOAP_VERSION_1_2,
SoapOptions::SOAP_ENCODING_UTF8,
SoapOptions::SOAP_CONNECTION_KEEP_ALIVE_OFF,
new SoapFeatures([
SoapFeatures::SINGLE_ELEMENT_ARRAYS
]),