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.1.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for jsonrpc2_objects-4.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fdb194692a721a3e485cb9903704cc716bd6082658d23f44f7a7067a3444188 |
|
MD5 | b99e1b9d2392db674c2e554800a7ad62 |
|
BLAKE2b-256 | 6f4800aa80f77600aebcd34205fabe1f4ed75995e042a2a433145c8b73b2ce07 |