I hereby claim:
- I am styxit on github.
- I am styxit (https://keybase.io/styxit) on keybase.
- I have a public key whose fingerprint is B353 DF52 12AA B7A5 A8D2 BB13 19A5 B79B 4712 8AE6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /************************************/ | |
| /********** CONFING START ***********/ | |
| // Only allow request made by localhost? | |
| // Set this to false if this script is not running on your synology webserver (less secure) | |
| $localOnly = true; | |
| /********** CONFING END *************/ | |
| /************************************/ |
| //Drop-in replacement for PHP's SoapClient class supporting connect and response/transfer timeout | |
| //Usage: Exactly as PHP's SoapClient class, except that 3 new options are available: | |
| // timeout The response/transfer timeout in milliseconds; 0 == default SoapClient / CURL timeout | |
| // connecttimeout The connection timeout; 0 == default SoapClient / CURL timeout | |
| // sslverifypeer FALSE to stop SoapClient from verifying the peer's certificate | |
| class SoapClientTimeout extends SoapClient | |
| { | |
| private $timeout = 0; | |
| private $connecttimeout = 0; | |
| private $sslverifypeer = true; |