google/protobuf.dart

grpc-web request from linux client

mcku opened this issue · 0 comments

mcku commented

Hi,
I would like to be able to make grpc-web requests from linux client. This requires xhr from linux. But grpc-web dependencies only exist in web. (grpc or grpcweb channel, for instance)

To circumvent this behavior, I tried to use universa_-html, a package that provides xhr on non-web platforms, but got some errors that might need further debugging/development. A fork exists with such modifications.

I think it might be useful to have this feature, in order to make testing grpc-web clients easier.