Documentation TYPO3 par Ameos |
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() |
Definition at line 1989 of file class.nusoap.php.
soap_transport_http::soap_transport_http | ( | $ | url | ) |
constructor
Definition at line 2024 of file class.nusoap.php.
References $url, nusoap_base::debug(), and setURL().
soap_transport_http::send | ( | $ | data, | |
$ | timeout = 0 , |
|||
$ | response_timeout = 30 , |
|||
$ | cookies = NULL | |||
) |
send the SOAP message via HTTP
string | $data message data | |
integer | $timeout set connection timeout in seconds | |
integer | $response_timeout set response timeout in seconds | |
array | $cookies cookies to send |
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
string | $msg message data | |
integer | $timeout set connection timeout in seconds | |
integer | $response_timeout set response timeout in seconds | |
array | $cookies cookies to send |
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
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::setSOAPAction | ( | $ | soapaction | ) |
set the soapaction value
string | $soapaction public |
Definition at line 2348 of file class.nusoap.php.
References nusoap_base::debug().
soap_transport_http::setEncoding | ( | $ | enc = 'gzip , |
|
deflate' | ||||
) |
use http encoding
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
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::decodeChunked | ( | $ | buffer, | |
$ | lb | |||
) |
decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6
string | $buffer | |
string | $lb |
Definition at line 2404 of file class.nusoap.php.
References nusoap_base::debug().
soap_transport_http::parseCookie | ( | $ | cookie_str | ) |
parse an incoming Cookie into it's parts
string | $cookie_str content of cookie |
Definition at line 2908 of file class.nusoap.php.
References $path.
Referenced by getResponse().
soap_transport_http::getCookiesForRequest | ( | $ | cookies, | |
$ | secure = false | |||
) |
sort out cookies for the current request
array | $cookies array with all cookies | |
boolean | $secure is the send-content secure or not? |
Definition at line 2972 of file class.nusoap.php.
References $path, and nusoap_base::debug().
Referenced by sendRequest().