soap_transport_http soap_transport_http(
$url
)
|
|
constructor
Parameters:
void buildPayload(
$data
)
|
|
Parameters:
void connect(
[
$connection_timeout = 0], [
$response_timeout = 30]
)
|
|
Parameters:
|
|
$connection_timeout: |
|
|
|
$response_timeout: |
|
string decodeChunked(
string
$buffer, string
$lb
)
|
|
decode a string that is encoded w/ "chunked' transfer encoding as defined in RFC2068 19.4.6
Parameters:
|
string |
$buffer: |
|
|
string |
$lb: |
|
API Tags:
| Deprecated: | |
| Access: | public |
string send(
string
$data, [integer
$timeout = 0], [integer
$response_timeout = 30]
)
|
|
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 |
API Tags:
| Return: | data |
| Access: | public |
string sendHTTPS(
$data, [integer
$timeout = 0], [integer
$response_timeout = 30], string
$msg
)
|
|
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 |
|
|
$data: |
|
API Tags:
| Return: | data |
| Access: | public |
void sendRequest(
$data
)
|
|
Parameters:
void setContentType(
$type, [
$charset = false]
)
|
|
Parameters:
void setCredentials(
string
$username, string
$password, [string
$authtype = 'basic'], [array
$digestRequest = array()]
)
|
|
if authenticating, set user credentials here
Parameters:
|
string |
$username: |
|
|
string |
$password: |
|
|
string |
$authtype: |
|
|
array |
$digestRequest: |
|
API Tags:
void setEncoding(
[string
$enc = 'gzip, deflate']
)
|
|
use http encoding
Parameters:
|
string |
$enc: |
encoding style. supported values: gzip, deflate, or both |
API Tags:
void setProxy(
string
$proxyhost, string
$proxyport, [string
$proxyusername = ''], [string
$proxypassword = '']
)
|
|
set proxy info here
Parameters:
|
string |
$proxyhost: |
|
|
string |
$proxyport: |
|
|
string |
$proxyusername: |
|
|
string |
$proxypassword: |
|
API Tags:
void setSOAPAction(
string
$soapaction
)
|
|
set the soapaction value
Parameters:
API Tags:
void usePersistentConnection(
)
|
|