#wasm-bindgen #grpc #tonic #grpc-client #js #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

#71 in #grpc-client


Used in 2 crates

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

~14–23MB
~325K SLoC