More examples with interceptors
Author: Fl0pZzCreated Aug 26, 2020Updated Jun 19, 2026
See the test: https://github.com/grpc/grpc-web/blob/master/packages/grpc-web/test/tsc-tests/client03.ts#L24
and the interceptor interface: https://github.com/grpc/grpc-web/blob/master/packages/grpc-web/index.d.ts#L63
If I have a service where several methods use streams, does it mean that I have to create so many instances of services and write my own interceptor for each one?
Source: grpc/grpc-web