A collection of objects for use in JSON-RPC 2.0 implementations.
Project description
JSON-RPC 2.0 Objects
A collection of objects for use in JSON-RPC 2.0 implementations.
Installation
poetry add jsonrpc2-objects
pip install jsonrpc2-objects
Objects
Available in objects
are the following:
Object | Description |
---|---|
ParamsRequest | Request with params |
Request | Request without params |
ParamsNotification | Notification with params |
Notification | Notification without params |
ErrorResponse | Response with result |
ResultResponse | Response with error |
Errors
Python exceptions are available for each JSON-RPC 2.0 error. Each error
extends JSONRPCError
.
- JSONRPCError
- InternalError
- InvalidParams
- InvalidRequest
- MethodNotFound
- ParseError
- ServerError
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonrpc2_objects-4.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for jsonrpc2_objects-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac0ea007c3040f8ed8348388a8854efcd2dce729d9f73e4b34bb918a0788288 |
|
MD5 | 5b28c547b84c3f80b7a25417a254d310 |
|
BLAKE2b-256 | 598381de4cebb4cf9860771374546c139a7a30afe7f5456a7231f5a66d69e650 |