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 JSON-RPC. Requires json and curl PHP extensions.

Jyxo\Rpc\Client
Extended by Jyxo\Rpc\Json\Client
Namespace: Jyxo\Rpc\Json
Category: Jyxo
Package: Jyxo\Rpc
Subpackage: Json
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Pěček
Located at Rpc/Json/Client.php
Methods summary
public mixed
# send( string $method, array $params )

Sends a request and fetches server's response.

Sends a 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\Json\Exception
On error
Methods inherited from Jyxo\Rpc\Client
__construct(), 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