Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Rpc_Json_Client
  • Jyxo_Rpc_Json_Server

Exceptions

  • Jyxo_Rpc_Json_Exception
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Jyxo_Rpc_Json_Client

Class for sending requests using JSON-RPC. Requires json and curl PHP extensions.

Jyxo_Rpc_Client
Extended by Jyxo_Rpc_Json_Client
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