Crate dioxus_liveview

Source
Expand description

§Dioxus Liveview

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

§Overview

dioxus-liveview provides adapters for running the Dioxus VirtualDom over a WebSocket connection.

The current backend frameworks supported include:

  • Axum

Dioxus-LiveView exports some primitives to wire up an app into an existing backend framework.

  • A ThreadPool for spawning the !Send VirtualDom and interacting with it from WebSockets
  • An adapter for transforming various socket types into the LiveViewSocket type
  • The glue to load the interpreter into your app

§Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

§License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.

Re-exports§

pub use pool::*;

Modules§

pool

Structs§

Config
A configuration for the LiveView server.

Enums§

LiveViewError

Traits§

LiveviewRouter
A trait for servers that can be used to host a LiveView app.
WebsocketRx
WebsocketTx

Functions§

interpreter_glue
This script that gets injected into your app connects this page to the websocket endpoint