Did I find the right examples for you? yes no

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)
A wrapper object around the exchange, routing_key, and a dictionary
of parameters that will be json encoded into the body of the rabbit
message.

:class:`RPCRequest` is hashable and can therefore be used as a key
in a dictionary.

src/c/h/Chu-0.2.0/chu/examples/simple_rpc.py   Chu(Download)
 
    # The params passed to RPCRequest are serialized to JSON
    rpc_request = chu.rpc.RPCRequest(exchange='exch',
                                     routing_key='key',
                                     params=dict(ncc=1701))

src/c/h/Chu-0.2.0/chu/tests/test_rabbit_worker.py   Chu(Download)
import simplejson as json
from datetime import timedelta
from chu.rpc import AsyncTornadoRPCClient, RPCRequest, RPCTimeoutError
from chu.tests.rabbit_worker import Worker
from chu.tests.util import gen_wrapper, AsyncEvent
    def test_call(self):
        client = AsyncTornadoRPCClient('localhost',
                                       self.io_loop)
 
        rpc_request = RPCRequest(exchange='exch',
    def test_call_timeout(self):
        client = AsyncTornadoRPCClient('localhost',
                                       self.io_loop)
 
        rpc_request = RPCRequest(exchange='exch',
    def test_call_no_reply(self):
        client = AsyncTornadoRPCClient('localhost',
                                       self.io_loop)
 
        rpc_request = RPCRequest(exchange='exch',
    def test_call_double_reply(self):
        client = AsyncTornadoRPCClient('localhost',
                                       self.io_loop)
 
        rpc_request = RPCRequest(exchange='exch',