Skip to main content

handle_takeover

Function handle_takeover 

Source
pub(super) async fn handle_takeover(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<TakeoverRequest>,
) -> Response
Expand description

POST /api/v1/agent/takeover: an agent, for its own pane. The window takes an agent over through its socket.