Comments (4)
There is nothing extra you should need to do. Just try switching one of your calls to use named parameters and it should work. Both calling styles should work at the same time.
Any code in your client you need to write your self.
I don't understand this part of your question:
Is there a function I can call or I need to implement it by myself?
A function for what, or implement what your self?
from json-rpc.net.
Thank you for the quick reply.
I mean do I need to modify the class JsonRequest?
from json-rpc.net.
It's automatic.
You don't need to do anything different on the server. Just on the client send the request using the object style instead of the array style.
from json-rpc.net.
Thanks very much.
from json-rpc.net.
Related Issues (20)
- IndexOutOfRangeException running TestServer_Console HOT 1
- System.FormatException not handled HOT 1
- Exception because a request object has an invalid id
- Ablity to handle extra parameters in the JSON-RPC method HOT 3
- Small update? HOT 3
- Add support for System.Text.Json HOT 2
- Error when using optional parameters HOT 1
- Add async/await support instead of IAsyncResult HOT 2
- Params conversion error raises internal error HOT 2
- Optional parameters parse bug HOT 1
- Suggestions: make it more agnostic, get rid of inheritance HOT 4
- Synchronous handling HOT 4
- Configurable JSON serialization/deserialization HOT 5
- JsonRpcProcessor ignores JsonSerializerSettings on response serialization HOT 4
- Recursive binding of interfaces, custom method naming rules HOT 1
- faulty answer string with batches that contain requests with and without id's HOT 1
- Getting started with client?
- Single response when sending batch request. HOT 2
- Improve error message when method not found
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 json-rpc.net.