|
| addCall (string $method,... $args) |
|
| query (string $method,... $args) |
|
| __construct (string $url) |
|
| query (string $method,... $args) |
|
| __construct ($host, int $port=80, ?int $timeout=null) |
|
| get (string $path, $data=false) |
|
| post (string $path, $data, ?string $charset=null) |
|
| getStatus () |
|
| getContent () |
|
| getHeaders () |
|
| getHeader ($header) |
|
| getCookies () |
|
| getRequestURL () |
|
| setHost (string $host, int $port=80) |
|
| setProxy ($host, int $port=8080) |
|
| setTimeout (int $timeout) |
|
| setUserAgent (string $user_agent) |
|
| setAuthorization (?string $username, ?string $password) |
|
| setMoreHeader (string $header) |
|
| voidMoreHeaders () |
|
| setCookies (array $cookies) |
|
| useSSL (bool $flag) |
|
| useGzip (bool $flag) |
|
| setPersistCookies (bool $flag) |
|
| setPersistReferers (bool $flag) |
|
| setHandleRedirects (bool $flag) |
|
| setMaxRedirects (int $num) |
|
| setHeadersOnly (bool $flag) |
|
| setDebug (bool $flag) |
|
| setOutput (?string $out) |
|
| __construct (string $host, int $port, int $timeout=10) |
|
| __destruct () |
|
| host (?string $host=null) |
|
| port (?int $port=null) |
|
| timeout (?int $timeout=null) |
|
| setBlocking (bool $block) |
|
| open () |
|
| close () |
|
| write ($data) |
|
| flush () |
|
| isOpen () |
|
|
static | quickGet (string $url, ?string $output=null) |
|
static | quickPost (string $url, array $data, ?string $output=null) |
|
static | initClient (string $url, string &$path) |
|
static | readURL (string $url, bool &$ssl, string &$host, int &$port, string &$path, string &$user, string &$pass) |
|
| buildRequest () |
|
| buildQueryString ($data) |
|
| doRequest () |
|
| buildRequest () |
|
| outputOpen () |
|
| outputClose () |
|
| outputWrite ($content) |
|
| debug (string $msg, $object=false) |
|
| iterator () |
|
◆ addCall()
addCall |
( |
string |
$method, |
|
|
|
$args |
|
) |
| |
Add call to stack
This method adds a method call for the given query (first argument) to calls stack. All other arguments of this method are XML-RPC method arguments.
Example: $o = new xmlrpcClient('http://example.com/xmlrpc'); $o->addCall('method1','hello','world'); $o->addCall('method2','foo','bar'); $r = $o->query();
- Parameters
-
- Returns
- mixed
References netHttp\$method.
◆ query()
query |
( |
string |
$method, |
|
|
|
$args |
|
) |
| |
◆ $calls
The documentation for this class was generated from the following file: