grpc-dart
grpc-dart copied to clipboard
Should interceptors pass in the Channel that is calling them
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 call without passing in the channel to the Interceptor's constructor.
Does it make sense to instead pass the Channel in as a parameter to the intercept* calls?