Replies: 1 comment
-
Hi @louisrli ! That's a good question; we don't support that right now, but it'd probably be possible? I guess? I haven't personally used grpc-web, so I've generally had to rely on others to implement the grpc-web support within ts-proto. If you'd like to poke around and migrate/upgrade ts-proto's output to work with grpc.js's grpc-web instead of @improbable-eng, that'd be great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I played around with generating client code for the @improbable-eng/grpc-web (which is no longer maintained), but I was wondering if there's a similar way to generate a client for the official grpc/grpc-web (I'm trying to figure out the client-side code from the browser)
I'm trying to follow along with the example code for calling from a client here:
https://github.com/grpc/grpc-web/tree/master/net/grpc/gateway/examples/helloworld#write-client-code
I'm currently generating the protos without any flags:
But perhaps I'm missing something? I see a generated class called
SheetsServiceClientImpl
, though it seems to take anrpc
object and I'm having trouble finding an example of how to do this.Beta Was this translation helpful? Give feedback.
All reactions