Skip to content

Commit afe01f1

Browse files
authored
Update README.md
1 parent 9675e2f commit afe01f1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
# yii2-jsonrpc
1+
# yii2-jsonrpc
2+
3+
This is Yii2-based JSON-RPC server implementation. CURRENTLY IN DEVELOPMENT. CONTRIBUTION WELCOME.
4+
5+
## Features
6+
* Uses full Yii2 power, because method string is translated into a route. You can keep using all the Yii2 feature
7+
such as routing, access control, etc.
8+
Examples:
9+
`{jsonrpc: "2.0", "method": "foo", "id": 1} -> route /foo -> {action: foo, controller: index, module: default}`
10+
`{jsonrpc: "2.0", "method": "foo.bar": "id": 2} -> route /foo/bar -> {action: bar, controller: foo, module: default}`
11+
`{jsonrpc: "2.0", "method": "foo.bar.baz": "id": 3} -> route /foo/bar/baz -> {action: baz, controller: bar, module: foo}`
12+
* Supports batch processing.
13+
14+
Author: George Shestayev [email protected]

0 commit comments

Comments
 (0)