dev-master
9999999-dev http://github.com/Crowdpark/processus-jsonrpc-pipejson rpc pipe
MIT
The Requires
- php >=5.3.3
- symfony/class-loader 2.1.*
json library rpc
json rpc pipe
yet another json-rpc, (*1)
cd src/example-teststack/bin php runtask.php Zmq.TestStackClient, (*2)
cd src/example-teststack/bin php runtask.php Zmq.TestStackClient, (*3)
// file: example-teststack/htdocs/api/v1/index.php, (*4)
$mockEnabled = true; $mockRequest = array( 'method' => 'TestStack.Test.ping', 'params' => array(), );, (*5)
use Api\V1\TestStack\Modules\GatewayModule;, (*6)
$gtw = new \Api\V1\TestStack\Modules\GatewayModule(); $gtw->init(); $gtw->setIsAutoFetchRequestTextEnabled(true); $gtw->setIsAutoEmitResponseEnabled(true); $gtw->setIsDebugEnabled(true); if($mockEnabled) { $gtw->setIsAutoFetchRequestTextEnabled(false); // do not fetch from php://input $gtw->setRawRequestData($mockRequest); // use that mock data instead } $gtw->run();, (*7)
json rpc pipe
MIT
json library rpc