SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Class: SOAP_Transport_HTTP

Source Location: /SOAP-0.9.4/Transport/HTTP.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base
         |
         --SOAP_Transport_HTTP

HTTP Transport for SOAP


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 41]
HTTP Transport for SOAP


[ Top ]


Class Variables

$cookies =

[line 56]

Cookies.

Type:   array


[ Top ]

$encoding =  SOAP_DEFAULT_ENCODING

[line 98]

HTTP encoding.

Type:   string


[ Top ]

$headers = array()

[line 49]

Basic Auth string.

Type:   array


[ Top ]

$incoming_payload =  ''

[line 84]

Incoming payload.

Type:   string


[ Top ]

$result_content_type =

[line 111]

HTTP-Response Content-Type.

Type:   mixed


[ Top ]

$result_cookies = array()

[line 115]


Type:   mixed


[ Top ]

$result_encoding =  'UTF-8'

[line 106]

HTTP-Response Content-Type encoding.

We assume UTF-8 if no encoding is set.


Type:   string


[ Top ]

$result_headers = array()

[line 113]


Type:   mixed


[ Top ]

$timeout =  4

[line 63]

Connection timeout in seconds. 0 = none.

Type:   integer


[ Top ]

$url =  ''

[line 77]

Connection endpoint - URL.

Type:   string


[ Top ]

$urlparts =  null

[line 70]

Array containing urlparts - parse_url().

Type:   mixed


[ Top ]



Method Detail

SOAP_Transport_HTTP (Constructor)   [line 125]

SOAP_Transport_HTTP SOAP_Transport_HTTP( string $url, [string $encoding = SOAP_DEFAULT_ENCODING])

SOAP_Transport_HTTP Constructor
  • Access: public

Parameters:

string   $url   —  HTTP url to SOAP endpoint.
string   $encoding   —  Encoding to use.

[ Top ]

addCookie   [line 181]

void addCookie( string $name, mixed $value)

Adds a cookie.
  • Access: public

Parameters:

string   $name   —  Cookie name.
mixed   $value   —  Cookie value.

[ Top ]

send   [line 142]

string|SOAP_Fault send( string $msg, [array $options = null])

Sends and receives SOAP data.
  • Access: public

Parameters:

string   $msg   —  Outgoing POST data.
array   $options   —  Options.

[ Top ]

setCredentials   [line 169]

void setCredentials( string $username, string $password)

Sets data for HTTP authentication, creates authorization header.
  • Access: public

Parameters:

string   $username   —  Username.
string   $password   —  Response data, minus HTTP headers.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:39:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.