杏聆荟Flutter客户端 JSON-RPC Client库

guanxinyi 9671c5a5dc 1、更新jsonrpc hai 4 meses
.vs 0bfd41c09d 1、更新jsonrpc hai 9 meses
.vscode ecf613e0d1 移除无用文件 hai 9 meses
lib 9671c5a5dc 1、更新jsonrpc hai 4 meses
test a41dfd5be7 project initialization %!s(int64=3) %!d(string=hai) anos
.gitignore fc87f9a26b repaire right codes %!s(int64=3) %!d(string=hai) anos
.metadata a41dfd5be7 project initialization %!s(int64=3) %!d(string=hai) anos
CHANGELOG.md a41dfd5be7 project initialization %!s(int64=3) %!d(string=hai) anos
LICENSE a41dfd5be7 project initialization %!s(int64=3) %!d(string=hai) anos
README.md aa27211ab1 更新 'README.md' %!s(int64=3) %!d(string=hai) anos
pubspec.yaml 49e11cb8fc 修复合并后确实的加密字段 hai 9 meses

README.md

fis_jsonrpc

A JSON-RPC client package project for Flyinsono application.

Usage

// Create a proxy instance
final rpc = JsonRpcProxy();

// Fetch a api
try {
    final String result = await rpc.config.getConfigAsync("service", "section", "settingNode", "defaultValue");
    print(result);
} on JsonRpcException catch (e) {
    print("Fetch fail. code: ${e.code}, msg: ${e.message}");
} catch (e) {
    logger.e("Fetch error.", e);
}