grpc-dart
grpc-dart copied to clipboard
The Dart language implementation of gRPC.
When the server is streaming data to a client and server.shutdown() is called, it'll hang as the connection never finishes. ``` grpc: dependency: "direct main" description: name: grpc url: "https://pub.dartlang.org"...
We are awaiting meta-data providers here: https://github.com/grpc/grpc-dart/blob/054ac9de3c86941dedfe1c6896e0e9df8375c399/lib/src/client/call.dart#L149-L155 This happens after we've check the state of the connection in `dispatchCall`: https://github.com/grpc/grpc-dart/blob/054ac9de3c86941dedfe1c6896e0e9df8375c399/lib/src/client/http2_connection.dart#L109-L123 Thus, the state of the connection may have changed, this...
It is easier to invoke golang code from flutter code. Due to less ios/android code and class-struct mapping, coding errors will be reduced.
RPC calls to the same endpoint should share a single connection (or pool of connections if the service is load balanced). Implementation should respect connection timeouts. See https://github.com/dart-lang/appengine/blob/master/lib/src/grpc_api_impl/grpc.dart#L293 for reference.
In https://github.com/dart-lang/http2/commit/9814696a101067c9db9c1b3cc071bfb2c3e44748 , @mraleph Added onInitialPeerSettingsReceived, making it no longer necessary to rely on time hack to wait for settings frame.
This allows you to change the timeout of the Socket. When a socket dies, this is the timeout that is used to determine if it should reconnect.
BUG: https://github.com/grpc/grpc-dart/issues/573
No stack trace shown for dealine exceeded errors. (version: "3.1.0-dev") ## Repro steps 1. checkout timeout branch from https://github.com/tarobins/grpc-dart/tree/timeout 1. start helloworld example server 1. run helloworld example client Expected...
Using v3.0.2 ## Repro steps 1. Write a proto file using Google GRPC annotations + Kalix annotations 2. Setup a service in [Kalix](https://docs.kalix.io/services/invoke-service.html) and add client certificate 3. Use curl...