2017 © Pedro Peláez
 

library jsonrpcpipe

json rpc pipe

image

processus/jsonrpcpipe

json rpc pipe

  • Monday, November 19, 2012
  • by FrancisVarga
  • Repository
  • 4 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

processus-jsonrpc-pipe

yet another json-rpc, (*1)

Example: ZMQ Server (Task)

cd src/example-teststack/bin php runtask.php Zmq.TestStackClient, (*2)

Example: ZMQ Client (Task)

cd src/example-teststack/bin php runtask.php Zmq.TestStackClient, (*3)

Example: Api Request

// 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)

The Versions

19/11 2012

dev-master

9999999-dev http://github.com/Crowdpark/processus-jsonrpc-pipe

json rpc pipe

  Sources   Download

MIT

The Requires

 

json library rpc