json-rpc-php icon indicating copy to clipboard operation
json-rpc-php copied to clipboard

Client/Server library for PHP 5.2.6

Results 6 json-rpc-php issues
Sort by recently updated
recently updated
newest added

Is this project Open Source? If you don't add a license, it's not Open Source even if the code is public.

Working a bit more with your code I discovered you have exception classes for the server but not for the client. I changed the client exceptions to use the same...

I need to send associative array as parameter via json rpc for example. {"sendDate":"2013-07-06", "packageId":1} But if i type like $myExample->getContent(array('sendDate' => '2013-06-17', 'packageId' => 1)); the $params wil show...

In JsonRpcServer#183 call_user_func_array expects an array, but when using named parameters $requestObject->params is an object. Other than that, the parameters are correctly reordered via introspection, we just need to cast...

i try to modivied some script @ JsonRpcServer.class.php: private function isValidRequestObjectId($requestId) { if(is_string($resquestId)) $resquestId=(float)$resquestId; if(is_null($requestId) OR is_int($requestId)) return true; else return false; /_return (is_null($requestId) || is_string($requestId) // 2 and "2"...

__autoload is discouraged because it's usually makes problems when using different frameworks which are all using the autoload feature. It would be great to see this changed in this library!