Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Client
  • Server

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Client

Class for sending requests using XML-RPC. Requires xmlrpc and curl PHP extensions.

Jyxo\Rpc\Client
Extended by Jyxo\Rpc\Xml\Client
Namespace: Jyxo\Rpc\Xml
Category: Jyxo
Package: Jyxo\Rpc
Subpackage: Xml
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jaroslav HanslĂ­k
Located at Rpc/Xml/Client.php
Methods summary
public
# __construct( string $url = '' )

Creates a client instance and eventually sets server address. Also defines default client settings.

Creates a client instance and eventually sets server address. Also defines default client settings.

Parameters

$url
string
Server address
public mixed
# send( string $method, array $params )

Sends request and fetches server's response.

Sends request and fetches server's response.

Parameters

$method
string
Method name
$params
array
Method parameters

Returns

mixed

Throws

BadMethodCallException
If no server address was provided
Jyxo\Rpc\Xml\Exception
On error
Methods inherited from Jyxo\Rpc\Client
disableProfiler(), enableProfiler(), getOption(), process(), profileEnd(), profileStart(), setOption(), setTimeout(), setUrl()
Properties inherited from Jyxo\Rpc\Client
$options, $timeout, $url
Jyxo PHP Library API documentation generated by ApiGen 2.3.0