Crates.io | webtonic-proto |
lib.rs | webtonic-proto |
version | 0.1.1 |
source | src |
created_at | 2020-12-06 00:43:45.524178 |
updated_at | 2021-03-29 17:52:50.438164 |
description | Browser enabled websocket tunneling for gRPC (protocol) |
homepage | |
repository | https://github.com/Sawchord/webtonic/ |
max_upload_size | |
id | 320016 |
size | 11,932 |
Browser enables websocket tunneling of gRPC messages.
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