Crates.io | webtonic-client |
lib.rs | webtonic-client |
version | 0.1.1 |
source | src |
created_at | 2020-12-06 00:44:49.277852 |
updated_at | 2021-03-29 17:55:48.902993 |
description | Browser enabled websocket tunneling for gRPC (client) |
homepage | |
repository | https://github.com/Sawchord/webtonic/ |
max_upload_size | |
id | 320017 |
size | 11,163 |
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