Expand description
Rebind remote access client.
use rebind_client::RebindClient;
#[tokio::main]
async fn main() -> rebind_client::Result<()> {
let mut client = RebindClient::connect("ws://127.0.0.1:19561").await?;
client.hid_move(30, -5);
let (x, y) = client.system_mouse().await?;
println!("mouse at {x},{y}");
client.close().await;
Ok(())
}Re-exports§
pub use error::RebindError;pub use error::Result;pub use types::*;
Modules§
Structs§
- Rebind
Client - Async WebSocket client for the Rebind remote access protocol.