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

guanxinyi 9671c5a5dc 1、更新jsonrpc 4 mēneši atpakaļ
.vs 0bfd41c09d 1、更新jsonrpc 9 mēneši atpakaļ
.vscode ecf613e0d1 移除无用文件 9 mēneši atpakaļ
lib 9671c5a5dc 1、更新jsonrpc 4 mēneši atpakaļ
test a41dfd5be7 project initialization 3 gadi atpakaļ
.gitignore fc87f9a26b repaire right codes 3 gadi atpakaļ
.metadata a41dfd5be7 project initialization 3 gadi atpakaļ
CHANGELOG.md a41dfd5be7 project initialization 3 gadi atpakaļ
LICENSE a41dfd5be7 project initialization 3 gadi atpakaļ
README.md aa27211ab1 更新 'README.md' 3 gadi atpakaļ
pubspec.yaml 49e11cb8fc 修复合并后确实的加密字段 9 mēneši atpakaļ

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);
}