grpc-dart
grpc-dart copied to clipboard
The Dart language implementation of gRPC.
I currently have an application that streams frames over grpc to flutter mobile and web clients. When running in mobile, the memory seems stable but when doing it in web...
```sh Error: gRPC Error (code: 12, codeName: UNIMPLEMENTED, message: Invalid frame type: 1, details: null, rawResponse: null) at Object.throw_ [as throw] (http://localhost:40069/dart_sdk.js:5062:11) at web_streams._GrpcWebConversionSink.new.[_parseFrameType] (http://localhost:40069/packages/grpc/src/client/transport/web_streams.dart.lib.js:136:19) at web_streams._GrpcWebConversionSink.new.add (http://localhost:40069/packages/grpc/src/client/transport/web_streams.dart.lib.js:209:53) at _ConverterStreamEventSink.new.add...
I have a use case for a ClientInterceptor that requires I know what Channel call is being made on, but there's no way to get this information from the intercept...
From the comments in lib/src/server/interceptor.dart: ``` /// A gRPC Interceptor. /// /// An interceptor is called before the corresponding [ServiceMethod] invocation. /// If the interceptor returns a [GrpcError], the error...
I have the following error : ``` [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: Hostname mismatch(../../third_party/boringssl/src/ssl/handshake.cc:393)), details:...
I would like to perform an async operation within an interceptor. The problem is it has to return a `ResponseFuture`, not a `Future`, so I cannot mark the `interceptUnary` method...
## Repro steps - run `dart pub global activate protoc_plugin` Expected result: dependencies are up-to-date Actual result: some dependencies are out-of-date ## Details ``` ➜ ~ dart pub global activate...
No fundamental reason to limit the grpc-web support to only web-apps as noted by: https://github.com/grpc/grpc-dart/issues/43#issuecomment-510437952 .
gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Channel shutting down., details: null, rawResponse: null, trailers: {}), details: null, rawResponse: null, trailers:...
Hello, today I stumbled upon this while I was reading the code inside `src/client/http2_connection.dart`: https://github.com/grpc/grpc-dart/blob/c982597faea6079712182b663779bf3098d25578/lib/src/client/http2_connection.dart#L273 I'm not sure how much this has impacted the average user as I can tell...