cadmean_rpc 0.2.1 copy "cadmean_rpc: ^0.2.1" to clipboard
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.

example/example.dart

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
}
3
likes
140
points
36
downloads

Publisher

verified publishercadmean.ru

Weekly Downloads

A Cadmean RPC library for Dart. Its goal is to simplify the communication with your web API, hiding all the HTTP and JSON stuff.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on cadmean_rpc