Crate wry_cmd_core

Crate wry_cmd_core 

Source
Expand description

§wry_cmd_core

Core runtime for the Wry IPC command system. Provides the command registry and handle_command dispatcher, plus the use_wry_ipc!() macro for integrating with Wry.

Re-exports§

pub extern crate inventory;

Re-exports§

pub use futures;

Macros§

use_wry_cmd_protocol

Structs§

Command
A single registered command.

Functions§

handle_command
Dispatch an IPC command by name with JSON arguments. Supports names like "mycommands/greet" or even "/mycommands/greet" and percent-encoded paths (e.g. %2Fmycommands%2Fgreet).

Type Aliases§

CommandHandler
Type alias for command handler functions.