grpc_dc 0.41.0
grpc_dc: ^0.41.0 copied to clipboard
gRPC over WebRTC DataChannels for Dart and Flutter: dependency-free generated runtime, client and server, all four call shapes, no grpc package underneath.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add grpc_dcWith Flutter:
$ flutter pub add grpc_dcThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
grpc_dc: ^0.41.0Alternatively, 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:grpc_dc/grpc_dc.dart';