"TYPO3 4.0.1: soap_transport_http Class Reference", "datetime" => "Sat Dec 2 19:25:40 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

soap_transport_http Class Reference

Inheritance diagram for soap_transport_http:

Inheritance graph
[legend]
Collaboration diagram for soap_transport_http:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 soap_transport_http ($url)
 setURL ($url)
 connect ($connection_timeout=0, $response_timeout=30)
 send ($data, $timeout=0, $response_timeout=30, $cookies=NULL)
 sendHTTPS ($data, $timeout=0, $response_timeout=30, $cookies)
 setCredentials ($username, $password, $authtype= 'basic', $digestRequest=array(), $certRequest=array())
 setSOAPAction ($soapaction)
 setEncoding ($enc='gzip, deflate')
 setProxy ($proxyhost, $proxyport, $proxyusername= '', $proxypassword= '')
 decodeChunked ($buffer, $lb)
 buildPayload ($data, $cookie_str= '')
 sendRequest ($data, $cookies=NULL)
 getResponse ()
 setContentType ($type, $charset=false)
 usePersistentConnection ()
 parseCookie ($cookie_str)
 getCookiesForRequest ($cookies, $secure=false)

Public Attributes

 $url = ''
 $uri = ''
 $digest_uri = ''
 $scheme = ''
 $host = ''
 $port = ''
 $path = ''
 $request_method = 'POST'
 $protocol_version = '1.0'
 $encoding = ''
 $outgoing_headers = array()
 $incoming_headers = array()
 $incoming_cookies = array()
 $outgoing_payload = ''
 $incoming_payload = ''
 $useSOAPAction = true
 $persistentConnection = false
 $ch = false
 $username = ''
 $password = ''
 $authtype = ''
 $digestRequest = array()
 $certRequest = array()

Detailed Description

transport class for sending/receiving data via HTTP and HTTPS NOTE: PHP must be compiled with the CURL extension for HTTPS support

Author:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id
class.nusoap.php 1421 2006-04-10 09:27:15Z mundaun
public

Definition at line 1989 of file class.nusoap.php.


Constructor & Destructor Documentation

soap_transport_http::soap_transport_http url  ) 
 

constructor

Definition at line 2024 of file class.nusoap.php.

References $url, nusoap_base::debug(), and setURL().


Member Function Documentation

soap_transport_http::decodeChunked buffer,
lb
 

decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6

Parameters:
string $buffer
string $lb
Returns:
string public
Deprecated:

Definition at line 2404 of file class.nusoap.php.

References nusoap_base::debug().

soap_transport_http::getCookiesForRequest cookies,
secure = false
 

sort out cookies for the current request

Parameters:
array $cookies array with all cookies
boolean $secure is the send-content secure or not?
Returns:
string for Cookie-HTTP-Header private

Definition at line 2972 of file class.nusoap.php.

Referenced by sendRequest().

soap_transport_http::parseCookie cookie_str  ) 
 

parse an incoming Cookie into it's parts

Parameters:
string $cookie_str content of cookie
Returns:
array with data of that cookie private

Definition at line 2908 of file class.nusoap.php.

Referenced by getResponse().

soap_transport_http::send data,
timeout = 0,
response_timeout = 30,
cookies = NULL
 

send the SOAP message via HTTP

Parameters:
string $data message data
integer $timeout set connection timeout in seconds
integer $response_timeout set response timeout in seconds
array $cookies cookies to send
Returns:
string data public

Definition at line 2226 of file class.nusoap.php.

References connect(), nusoap_base::debug(), getResponse(), sendRequest(), and nusoap_base::setError().

Referenced by getResponse(), and sendHTTPS().

soap_transport_http::sendHTTPS data,
timeout = 0,
response_timeout = 30,
cookies
 

send the SOAP message via HTTPS 1.0 using CURL

Parameters:
string $msg message data
integer $timeout set connection timeout in seconds
integer $response_timeout set response timeout in seconds
array $cookies cookies to send
Returns:
string data public

Definition at line 2266 of file class.nusoap.php.

References send().

soap_transport_http::setCredentials username,
password,
authtype = 'basic',
digestRequest = array(),
certRequest = array()
 

if authenticating, set user credentials here

Parameters:
string $username
string $password
string $authtype (basic, digest, certificate)
array $digestRequest (keys must be nonce, nc, realm, qop)
array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) public

Definition at line 2280 of file class.nusoap.php.

References $authtype, $certRequest, $digestRequest, $password, $username, and nusoap_base::debug().

Referenced by getResponse(), and setURL().

soap_transport_http::setEncoding enc = 'gzip,
deflate' 
 

use http encoding

Parameters:
string $enc encoding style. supported values: gzip, deflate, or both public

Definition at line 2359 of file class.nusoap.php.

References nusoap_base::debug().

soap_transport_http::setProxy proxyhost,
proxyport,
proxyusername = '',
proxypassword = ''
 

set proxy info here

Parameters:
string $proxyhost
string $proxyport
string $proxyusername
string $proxypassword public

Definition at line 2384 of file class.nusoap.php.

References nusoap_base::debug().

soap_transport_http::setSOAPAction soapaction  ) 
 

set the soapaction value

Parameters:
string $soapaction public

Definition at line 2348 of file class.nusoap.php.

References nusoap_base::debug().


The documentation for this class was generated from the following file: