Comments (4)
+1 for this proposal.
from jsonrpcclient.
I'm not 100% convinced this is worthwhile.
What extra information would be included in a Response object? Maybe the raw response, a string. Maybe an http_status, but since it's success response, it will almost always be 200. The most useful would be the request id.
from jsonrpcclient.
Deciding against this.
from jsonrpcclient.
Reconsidering this for version 3.
from jsonrpcclient.
Related Issues (20)
- Add stricter mypy options to pre-commit config HOT 1
- SimplyBook and Expecting value: line 1 column 1 (char 0) error HOT 2
- Fix notify
- Log level should be customisable HOT 2
- Allow overriding schema validation HOT 1
- consider allowing overriding the standard json package with a different one (such as orjson) HOT 3
- Change build system interface to pyproject.toml
- Remove package_data from setup.py
- Paramterize the unit tests
- Add assert_called_once_with to mocking unit tests HOT 1
- Add test section to extras_require in setup.py
- Add installation instruction to README
- Upgrade pre-commit hooks
- Enable all Pylint errors
- Type check tests and examples
- Use importlib.resources instead of "open" in setup.py HOT 1
- Change linter from Pylint to Ruff
- Improve the types used
- [Question] How to keep reading `ws.recv()`? HOT 1
- Here are a few more examples using jasonrpc request/response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonrpcclient.