Skip to main content

Crate razers_agent

Crate razers_agent 

Source
Expand description

Local, privilege-separated device discovery and request handling.

The first transport is inherited standard I/O, keeping the Agent private to its parent application while the persistent per-user transport is designed.

本地、权限分离的设备发现与请求处理。当前通过继承的标准输入输出,仅为父应用提供私有服务;每用户持久传输尚在设计中。

Functions§

discover
Enumerate connected Razer interfaces without opening hardware.
handle_request
Handle one already-parsed RazeRS JSON-RPC request.
serve_stdio
Serve newline-delimited JSON-RPC requests until the parent closes stdin.