grpc / grpc-dart

The Dart language implementation of gRPC.
https://pub.dev/packages/grpc
Apache License 2.0
860 stars 271 forks source link

feat: allow to make future chain request with ResponseFuture and ResponseStream #543

Closed savy-91 closed 2 years ago

savy-91 commented 2 years ago

Same as https://github.com/grpc/grpc-dart/pull/419 but rebased on master.

Also adds responseTransform to chain StreamTransformers to a ResponseStream.

linux-foundation-easycla[bot] commented 2 years ago

CLA Signed

The committers listed above are authorized under a signed CLA.

mraleph commented 2 years ago

I think instead of adding support for chaining ResponseFuture objects we could allow specifying response interceptors separate from the call interceptors. See draft PR here: https://github.com/grpc/grpc-dart/pull/548

Let me know if that would solve all use cases.