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.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for jsonrpc2_objects-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff4d46c28db8c270f6da1d6731faae9a52b063c897931355a8b08b0b71647fa |
|
MD5 | d7c9067bf7f3f04ca27c93e5de5d590f |
|
BLAKE2b-256 | 190de4d0c16a2383e6f07dc1cdd18010247ef92ebf0f59ead8871761e9cca850 |