grpc-dart
grpc-dart copied to clipboard
Can I use my gRPC client in offline mod?
I want to use the same implementation of gRPC for my local enviroment. That means that I don't want to start a server to be able to call functions. Yes, it may seems odd, but I think it's a really important feature.
Versions:
protobuf: ^2.0.1
grpc: ^3.0.2
For simplicity, let's say that we are using yours example hello-world, here want I want accomplish:
final offlineClient = OfflineGreeterClient();
offlineClient.sayHello(HelloRequest(name: "Dynamic"));