Skip to main content

handle_agent_broadcast_forward

Function handle_agent_broadcast_forward 

Source
pub(super) async fn handle_agent_broadcast_forward(
    __arg0: State<AppState>,
    __arg1: Json<AgentBroadcastForwardRequest>,
) -> impl IntoResponse
Expand description

POST /agentmux/agent/broadcast: another channel on this machine asks this one to deliver a Swarm broadcast to one of its agent panes (same trust model as the stop forward above: loopback, this instance’s own auth key). The header is built here; the caller supplies only the body.