Open Nezteb opened 7 months ago
The feature is there already! I'll change the issue to improve documentation on this. We should probably add a guide with interceptors on both ends.
Noting that this is lacking actual documentation. The Client Interceptor module points to Stub, but Stub just cites the option without explanation: https://hexdocs.pm/grpc/GRPC.Stub.html#connect/2
I just came back here to mention that I eventually found the same module(s) you mentioned. 😅
I agree; updating the docs is ideal!
Describe the solution you'd like
We currently support server interceptors via the
GRPC.Endpoint
module.However, there seems to be no way to implement client interceptors.
Some relevant links:
Describe alternatives you've considered
I can't think of any viable alternatives.