2 releases
0.1.1 | Mar 29, 2021 |
---|---|
0.1.0 | Dec 6, 2020 |
#363 in WebSocket
24KB
410 lines
WebTonic
Browser enables websocket tunneling of gRPC messages.
Testing
This repository implements a set of small test crates.
Running these tests requieres to install
wasm-pack
.
To run the tests, first start the server:
RUST_LOG=info cargo run -p server-test
Then, after the server is built and running, the client tests can be run.
To test in firefox, run:
wasm-pack test --firefox --headless client-test
To test in chrome, run:
wasm-pack test --chrome --headless client-test
lib.rs
:
Client crate of the WebTonic
project.
This crate only contains the Client
, which requires a browser runtime
to function.
Dependencies
~14–23MB
~332K SLoC