JSONRPC 1.0.0

Wrapper extends Wrapper
in package
uses JsonRpcVersionAware

Table of Contents

Properties

$allowedResponseClass  : mixed
$jsonrpc_version  : string|null
$namespace  : mixed
$prefix  : mixed

Methods

getJsonRpcVersion()  : string|null
setJsonRpcVersion()  : void
wrapJsonrpcMethod()  : mixed
wrapJsonrpcServer()  : mixed
buildClientWrapperCode()  : mixed
cloneClientForClosure()  : Client

Properties

$allowedResponseClass

protected static mixed $allowedResponseClass = '\PhpXmlRpc\Response'

$namespace

protected static mixed $namespace = '\PhpXmlRpc\JsonRpc\\'

$prefix

protected static mixed $prefix = 'jsonrpc'

Methods

getJsonRpcVersion()

public getJsonRpcVersion() : string|null
Return values
string|null

NULL means let the global var PhpJsonRpc::$defaultJsonRpcVersion decide

setJsonRpcVersion()

public setJsonRpcVersion(string|null $jsonrpcVersion) : void
Parameters
$jsonrpcVersion : string|null

Use NULL to let the global var PhpJsonRpc::$defaultJsonRpcVersion decide

wrapJsonrpcMethod()

public wrapJsonrpcMethod(mixed $client, mixed $methodName[, mixed $extraOptions = array() ]) : mixed
Parameters
$client : mixed
$methodName : mixed
$extraOptions : mixed = array()
Tags
see
Wrapper::wrapXmlrpcMethod

wrapJsonrpcServer()

public wrapJsonrpcServer(mixed $client[, mixed $extraOptions = array() ]) : mixed
Parameters
$client : mixed
$extraOptions : mixed = array()
Tags
see
Wrapper::wrapXmlrpcServer

buildClientWrapperCode()

protected buildClientWrapperCode(mixed $client, mixed $verbatimClientCopy[, mixed $prefix = 'xmlrpc' ][, mixed $namespace = 'PhpXmlRpc\' ]) : mixed
Parameters
$client : mixed
$verbatimClientCopy : mixed
$prefix : mixed = 'xmlrpc'
$namespace : mixed = 'PhpXmlRpc\'

        
On this page

Search results