Solutions Open Source

Référence de la classe soap_transport_http

Graphe d'héritage de soap_transport_http:

Inheritance graph
[légende]
Graphe de collaboration de soap_transport_http:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 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)

Attributs publics

 $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()


Description détaillée

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

Auteur:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id
public

Documentation des fonctions membres

soap_transport_http::soap_transport_http ( url  ) 

constructor

soap_transport_http::setURL ( url  ) 

soap_transport_http::connect ( connection_timeout = 0,
response_timeout = 30 
)

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

send the SOAP message via HTTP

Paramètres:
string $data message data
integer $timeout set connection timeout in seconds
integer $response_timeout set response timeout in seconds
array $cookies cookies to send
Renvoie:
string data public

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

send the SOAP message via HTTPS 1.0 using CURL

Paramètres:
string $msg message data
integer $timeout set connection timeout in seconds
integer $response_timeout set response timeout in seconds
array $cookies cookies to send
Renvoie:
string data public

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

if authenticating, set user credentials here

Paramètres:
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

soap_transport_http::setSOAPAction ( soapaction  ) 

set the soapaction value

Paramètres:
string $soapaction public

soap_transport_http::setEncoding ( enc = 'gzip,
deflate'   
)

use http encoding

Paramètres:
string $enc encoding style. supported values: gzip, deflate, or both public

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

set proxy info here

Paramètres:
string $proxyhost
string $proxyport
string $proxyusername
string $proxypassword public

soap_transport_http::decodeChunked ( buffer,
lb 
)

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

Paramètres:
string $buffer
string $lb
Renvoie:
string public
Obsolète:

soap_transport_http::buildPayload ( data,
cookie_str = '' 
)

soap_transport_http::sendRequest ( data,
cookies = NULL 
)

soap_transport_http::getResponse (  ) 

soap_transport_http::setContentType ( type,
charset = false 
)

soap_transport_http::usePersistentConnection (  ) 

soap_transport_http::parseCookie ( cookie_str  ) 

parse an incoming Cookie into it's parts

Paramètres:
string $cookie_str content of cookie
Renvoie:
array with data of that cookie private

soap_transport_http::getCookiesForRequest ( cookies,
secure = false 
)

sort out cookies for the current request

Paramètres:
array $cookies array with all cookies
boolean $secure is the send-content secure or not?
Renvoie:
string for Cookie-HTTP-Header private


Documentation des données membres

soap_transport_http::$url = ''

soap_transport_http::$uri = ''

soap_transport_http::$digest_uri = ''

soap_transport_http::$scheme = ''

soap_transport_http::$host = ''

soap_transport_http::$port = ''

soap_transport_http::$path = ''

soap_transport_http::$request_method = 'POST'

soap_transport_http::$protocol_version = '1.0'

soap_transport_http::$encoding = ''

soap_transport_http::$outgoing_headers = array()

soap_transport_http::$incoming_headers = array()

soap_transport_http::$incoming_cookies = array()

soap_transport_http::$outgoing_payload = ''

soap_transport_http::$incoming_payload = ''

soap_transport_http::$useSOAPAction = true

soap_transport_http::$persistentConnection = false

soap_transport_http::$ch = false

soap_transport_http::$username = ''

soap_transport_http::$password = ''

soap_transport_http::$authtype = ''

soap_transport_http::$digestRequest = array()

soap_transport_http::$certRequest = array()


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:55 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3