Name: commissaire-service
Owner: Project Atomic
Description: Commissaire Service Framework
Created: 2016-08-31 17:32:52.0
Updated: 2018-03-22 10:33:18.0
Pushed: 2017-06-28 20:39:20.0
Size: 220
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Commissaire Service Framework
The library uses jsonrpc v2 for remote invocation and notifications internals.
Note: The last element for the routing_key
must match the method to be called
"jsonrpc": "2.0", // Required header noting version of jsonrpc
"id": "6829688e-649d-4de7-8649-afefca88781d", // Unique message id
"method": "add", // The remote method to call
"params": [1, 2] // The remote parameters to provide to the method
"jsonrpc": "2.0", // Required header noting version of jsonrpc
"id": "6829688e-649d-4de7-8649-afefca88781d", // Unique message id
"result": 3 // Result of the call
"jsonrpc": "2.0", // Required header noting version of jsonrpc
"id": "6829688e-649d-4de7-8649-afefca88781d", // Unique message id
"error": {
"code": -32602, // http://www.jsonrpc.org/specification#error_object
"message": "Method not found" // Error message or Exception message
"data": { // Houses exception
"exception": "TypeError" // The name of the exception class or None
}
}
See the documentation.