grpc-web icon indicating copy to clipboard operation
grpc-web copied to clipboard

Client interceptors [feature request]

Open optiman opened this issue 5 years ago • 2 comments

Grpc-web team at Google recently announced support for interceptors. https://grpc.io/blog/grpc-web-interceptor/

Are there any plans to implement such feature for this library?

optiman avatar Jul 16 '20 19:07 optiman

Not that I know. We encourage new users to use the Google client implementation. We welcome contributions though :smile:.

johanbrandhorst avatar Aug 12 '20 09:08 johanbrandhorst

Google implementation is browser-only (and will remain that way) and doesn't support SSR and isomorphic web applications - when first loaded page is generated on the server side (Node.js) and all following pages are rendered in the browser as normal SPA.

optiman avatar Aug 12 '20 09:08 optiman