vania_grpc 1.0.0 copy "vania_grpc: ^1.0.0" to clipboard
vania_grpc: ^1.0.0 copied to clipboard

Production-ready gRPC server and client integration for Vania.

example/vania_grpc_example.dart

import 'package:vania_grpc/vania_grpc.dart';

Future<void> main() async {
  VaniaGrpcServer().register(GrpcHealthService());
  await VaniaGrpcServer().serve(
    const GrpcConfig(host: '127.0.0.1', port: 50051),
  );

  print('gRPC server listening on ${VaniaGrpcServer().port}');
}
0
likes
160
points
77
downloads

Documentation

Documentation
API reference

Publisher

verified publishervdart.dev

Weekly Downloads

Production-ready gRPC server and client integration for Vania.

Homepage
Repository (GitHub)
View/report issues

Topics

#server #backend #grpc #rpc #vania

License

MIT (license)

Dependencies

grpc, meta, protobuf, vania

More

Packages that depend on vania_grpc