grpc-dart icon indicating copy to clipboard operation
grpc-dart copied to clipboard

Is there a way to check the connection status?

Open steeling opened this issue 4 years ago • 1 comments

For e.g. in Go, you first dial out the call, and pass that to the gRPC service client. If the dial fails you know immediately that you were unable to connect.

In dart, I create a grpc client, and even with no internet connection i get no errors. Is there a way to call client.checkConnection() or something would be nice to have

steeling avatar May 14 '21 03:05 steeling

May be related to https://github.com/grpc/grpc-dart/issues/477

phamnhuvu-dev avatar May 31 '21 04:05 phamnhuvu-dev