function soap_transport_http::soap_transport_http in Salesforce Suite 5.2
Same name in this branch
- 5.2 includes/nusoap.php \soap_transport_http::soap_transport_http()
- 5.2 includes/nusoap.orig.php \soap_transport_http::soap_transport_http()
Same name and namespace in other branches
- 5 includes/nusoap.php \soap_transport_http::soap_transport_http()
- 5 includes/nusoap.orig.php \soap_transport_http::soap_transport_http()
* constructor
File
- includes/
nusoap.orig.php, line 2035
Class
- soap_transport_http
- transport class for sending/receiving data via HTTP and HTTPS NOTE: PHP must be compiled with the CURL extension for HTTPS support
Code
function soap_transport_http($url) {
parent::nusoap_base();
$this
->setURL($url);
ereg('\\$Revisio' . 'n: ([^ ]+)', $this->revision, $rev);
$this->outgoing_headers['User-Agent'] = $this->title . '/' . $this->version . ' (' . $rev[1] . ')';
$this
->debug('set User-Agent: ' . $this->outgoing_headers['User-Agent']);
}