How to use with latest Tonic? #21
-
Hi I am trying to make this work with the Tonic json-codec example. Tonic generates a Client struct that is initialized with Client::connect(url), resulting in a Client type. How should this be used with the tonic_web_wasm_client::client? Is it possible to post a working example that people can follow? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Here's the example in |
Beta Was this translation helpful? Give feedback.
-
So is it correct to assume that this package only works with a proto file? I.e tonic generated files build with tonic_build::manual are not supported? |
Beta Was this translation helpful? Give feedback.
Here's the example in
test-suite
folder: https://github.com/devashishdxt/tonic-web-wasm-client/tree/main/test-suite