Skip to main content

Crate wasmsh_protocol

Crate wasmsh_protocol 

Source
Expand description

Message protocol for the wasmsh browser worker bridge.

Defines versioned, serializable messages exchanged between the host page and the wasmsh Web Worker.

§Protocol version

Current version: 0.1.0

Enums§

DiagnosticLevel
Diagnostic severity level.
HostCommand
A command sent from the host to the worker.
WorkerEvent
An event sent from the worker to the host.

Constants§

PROTOCOL_VERSION
Protocol version string.