dartrpc 0.5.0
dartrpc: ^0.5.0 copied to clipboard
Framework to transparently run code on the server via client-side proxies over web sockets Given the methodology of "same language on server and client", it is my belief that it should be possible to [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartrpcThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dartrpc: ^0.5.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartrpc/._rpc_client.dart';
import 'package:dartrpc/._rpc_server.dart';
import 'package:dartrpc/._transport.dart';
import 'package:dartrpc/rpc_client.dart';
import 'package:dartrpc/rpc_server.dart';
import 'package:dartrpc/transport.dart';