https://github.com/keisukeyamashita/dart-jsonrpc
This repository is for JSONRPC2.0 client for Dart
https://github.com/keisukeyamashita/dart-jsonrpc
dart jsonrpc
Last synced: 6 months ago
JSON representation
This repository is for JSONRPC2.0 client for Dart
- Host: GitHub
- URL: https://github.com/keisukeyamashita/dart-jsonrpc
- Owner: KeisukeYamashita
- License: apache-2.0
- Created: 2018-06-18T02:57:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T14:31:25.000Z (over 7 years ago)
- Last Synced: 2024-10-05T12:24:38.832Z (about 1 year ago)
- Topics: dart, jsonrpc
- Language: Dart
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dart-jsonrpc
[](https://opensource.org/licenses/Apache-2.0)
[](https://circleci.com/gh/KeisukeYamashita/dart-jsonrpc)
dart-jsonrpc is a dart library use for interacting to your server with JSON-RPC.
## Dependencies
```bash
pub get
```## Test
```bash
pub run test test/*
```## Usage
```dart
var url = "https://hogehoge.com";
var params = {
"id": 1
};
var client = new JSONRPCClient(url);
client.call("getUsername",params, (response){
print(response.body)
})
```## Contribution
To contribute, just send us a pull request!
If it is valid, you will be added on the contribution doc in `/doc/contributor.md` .## License
Copyright 2018 Keisuke Yamashita.
Licensed under the Apache 2.0 license.