SafetyCulture / grpc-web-devtools

Chrome & Firefox Browser extension to aid gRPC-Web development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for regular callback requests

rogchap opened this issue · comments

Currently only PromiseClient is supported, as it calls unaryCall which makes it the easiest to override.
Need to update the inject.js code to allow capturing of regular rpcCall functions.
This may be tricky as the gRPC-web package is minimised so it's harder to override these internal methods, also it's easy to loose the javascript scope of the callback.