#grpc #tonic #grpc-client #js #wasm-bindgen #wasm

cipherstash-grpc-web-client

An implementation of the gRPC-Web protocol that allows using tonic in browsers via wasm

1 unstable release

0.1.2 Aug 18, 2022

#47 in #tonic


Used in 3 crates (2 directly)

MIT/Apache

28KB
590 lines

grpc-web-client

Crates.io Documentation License

A Rust implementation of the gRPC-Web protocol that allows using tonic in browsers via wasm.

Testing

Running the tests requires wasm-pack.

To run the tests, first start the server:

RUST_LOG=info cargo run -p test-server

Then, after the server is built and running, the tests can be run.

wasm-pack test --firefox --chrome --safari --headless test/test-client

Acknowledgments

This package is heavily based on webtonic.

Dependencies

~13–17MB
~311K SLoC