예제 #1
0
 function sendPayloadHTTP10($msg, $server, $port, $timeout = 0, $username = '', $password = '')
 {
     if ($this->hasCurl || $this->hasOpenssl) {
         $args = func_get_args();
         $method = $this->hasCurl ? '_sendHttpCurl' : '_sendHttpOpenSsl';
         return call_user_func_array(array(&$this, $method), $args);
     }
     return parent::sendPayloadHTTP10($msg, $server, $port, $timeout, $username, $password);
 }