Expand description
§tauri-plugin-conduit
Tauri v2 plugin for conduit — binary IPC over the conduit:// custom
protocol.
Registers a conduit:// custom protocol for zero-overhead in-process
binary dispatch via a synchronous handler table. No network surface.
§Usage
ⓘ
tauri::Builder::default()
.plugin(
tauri_plugin_conduit::init()
.command("ping", |_| b"pong".to_vec())
.command("get_ticks", handle_ticks)
.channel("telemetry") // ring buffer for streaming
.build()
)
.run(tauri::generate_context!())
.unwrap();Structs§
- Bootstrap
Info - Connection info returned to the frontend during bootstrap.
- Plugin
Builder - Builder for the conduit Tauri v2 plugin.
- Plugin
State - Shared state for the conduit Tauri plugin.
Functions§
- init
- Create a new conduit plugin builder.