Constants§
Functions§
- get_
static_ client - Returns the current static
RpcWasmClient, if initialized. - init_
static_ client - Initializes the global static RPC client if it has not been initialized.
- static_
muxio_ handle_ connect - Call this from your JavaScript glue code when the WebSocket
onopenevent fires. - static_
muxio_ handle_ disconnect - Call this from your JavaScript glue code when the WebSocket’s
oncloseoronerrorevent fires. - static_
muxio_ read_ bytes_ uint8 - Entry point from JavaScript when binary data arrives from the network.
- with_
static_ client_ async - Asynchronously executes a closure with the static
RpcWasmClient, returning the result as a JavaScriptPromise.