Crate dioxus_websocket_hooks

Source

Structs§

DioxusWs

Functions§

use_ws_context
Consumes WebSocket context. Useful for sending messages over the WebSocket connection.
use_ws_context_provider
Provide websocket context with a handler for incoming reqwasm Messages
use_ws_context_provider_json
Provide websocket context with a handler for incoming JSON messages. Note that the message type T must implement Deserialize.
use_ws_context_provider_text
Provide websocket context with a handler for incoming plaintext messages