Crates.io | webworker |
lib.rs | webworker |
version | 0.1.4 |
source | src |
created_at | 2020-12-02 21:44:40.803457 |
updated_at | 2020-12-25 12:50:59.977949 |
description | WebWorker |
homepage | |
repository | https://github.com/mehmetcansahin/webworker |
max_upload_size | |
id | 319026 |
size | 9,051 |
# WebWorker - work in progress
WebWorker is a simple web server for a wasm
Request -> CF Worker -> WebWorker -> Response
## Example
let mut router = Router::new();
router.get("/", Box::new(index));
let mut ww = WebWorker::new();
ww.mount(router);
ww.handle(request)
wasm-pack test --chrome