You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{FooPromiseClient}from'./fooService_grpc_web_pb';constmyInterceptor=function(){}myInterceptor.prototype.intercept=function(request,invoker){returninvoker(request).then((response)=>{returnresponse;});}constfooService=newFooPromiseClient('http://xxx.xxx',{},{'unaryInterceptors': [newmyInterceptor()]});fooService.foo(someRequest).then(response=>{// I only got empty metadata here, how to access all http response headers? })
The text was updated successfully, but these errors were encountered:
e.g:
The text was updated successfully, but these errors were encountered: