File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33MessagePack RPC implementation based on Tornado.
44
5+ ## Installation
6+
7+ ``` sh
8+ % python setup.py install
9+ ```
10+
11+ or
12+
13+ ``` sh
14+ % easy_install msgpack-rpc-python
15+ ```
16+
17+ ### Dependent modules
18+
19+ * msgpack-python (>= 0.1.12)
20+ * tornado (>= 2.1.1)
21+
522## Example
623
724### Server
@@ -27,18 +44,19 @@ client = msgpackrpc.Client(msgpackrpc.Address("localhost", 18800))
2744result = client.call(' sum' , 1 , 2 ) # = > 3
2845```
2946
30- ## Installation
47+ ## Run test
3148
32- python setup.py install
33-
34- or
49+ In test directory:
3550
36- easy_install msgpack-rpc-python
51+ ``` sh
52+ % PYTHONPATH=../ python test_msgpackrpc.py
53+ ```
3754
38- ## Dependent modules
55+ Run with timeout test(Timeout test takes about 5 seconds)
3956
40- * msgpack-python (>= 0.1.12)
41- * tornado (>= 2.1.1)
57+ ``` sh
58+ % PYTHONPATH=../ python test_msgpackrpc.py --timeout-test
59+ ```
4260
4361## Performance
4462
You can’t perform that action at this time.
0 commit comments