dartrpc 0.5.0 copy "dartrpc: ^0.5.0" to clipboard
dartrpc: ^0.5.0 copied to clipboard

Dart 1 only

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 dartrpc

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dartrpc: ^0.5.0

Alternatively, 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';
0
likes
15
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

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 interact with server-side code using regular language constructs (method invocations). Dartrpc aims to accomplish this goal.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

browser, dartrs, log4dart, serialization, uuid

More

Packages that depend on dartrpc