cadmean_rpc 0.2.1
cadmean_rpc: ^0.2.1 copied to clipboard
A Cadmean RPC library for Dart. Its goal is to simplify the communication with your web API, hiding all the HTTP and JSON stuff.
import 'package:cadmean_rpc/cadmean_rpc.dart';
void main() async {
var rpc = RpcClient('http://testrpc.cadmean.ru');
var sum = await rpc.function('sum').call([1, 2]);
print(sum.result); // 3
}