Skip to main content

close_session

Function close_session 

Source
pub async fn close_session(
    state: &DaemonState,
    id: &SessionId,
    force: bool,
    attached: bool,
) -> DaemonFrame
Expand description

Serve Close{session_id, force, attached}. Always answers with one frame: Closed, Refused{Busy|UnknownSession} or Error.