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-3.0.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for jsonrpc2_objects-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee8d62e17ffbb9204cbdbca42ebb0ee0e15697327a7ee362c246be3f56e1271 |
|
MD5 | 4d6c18e1b916702c31dc658a71fca7cd |
|
BLAKE2b-256 | 43a3de1c4f13913f842f06fe1e083e50d96f398b47fd99b68beeda80052ba560 |