grpc_york 3.2.3
grpc_york: ^3.2.3 copied to clipboard
Dart implementation of gRPC, a high performance, open-source universal RPC framework. Support to run in HarmonyOS flutter, compatible with dart 2.19.6.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add grpc_york
With Flutter:
$ flutter pub add grpc_york
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
grpc_york: ^3.2.3
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:grpc_york/grpc.dart';
import 'package:grpc_york/grpc_connection_interface.dart';
import 'package:grpc_york/grpc_or_grpcweb.dart';
import 'package:grpc_york/grpc_web.dart';
import 'package:grpc_york/service_api.dart';