ball_rpc 0.3.1 copy "ball_rpc: ^0.3.1" to clipboard
ball_rpc: ^0.3.1 copied to clipboard

Dart-target RPC transport runtime for ball_protobuf service clients: the canonical status-code model (RpcCode), exceptions/metadata, and pluggable transports for the Connect protocol and gRPC-over-HTT [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ball_rpc

With Flutter:

 $ flutter pub add ball_rpc

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

dependencies:
  ball_rpc: ^0.3.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ball_rpc/ball_rpc.dart';
0
likes
140
points
71
downloads

Documentation

API reference

Publisher

verified publisherball-lang.dev

Weekly Downloads

Dart-target RPC transport runtime for ball_protobuf service clients: the canonical status-code model (RpcCode), exceptions/metadata, and pluggable transports for the Connect protocol and gRPC-over-HTTP/2, plus an in-memory FakeTransport for testing generated clients. Generated service stubs delegate bytes-level calls here. NOT Ball-portable — it uses dart:io / dart:async.

Repository (GitHub)
View/report issues
Contributing

Topics

#protobuf #grpc #connect #rpc #ball

License

MIT (license)

Dependencies

ball_protobuf

More

Packages that depend on ball_rpc