handle_ipc

Function handle_ipc 

Source
async fn handle_ipc(
    __arg0: State<Arc<AppState>>,
    headers: HeaderMap,
    __arg2: Json<IpcRequest>,
) -> (StatusCode, Json<IpcResponse>)
Expand description

Main IPC handler — routes commands to the appropriate handler.

Requires Authorization: Bearer {ipc_token} header to prevent unauthorized local processes from accessing the IPC server.