Skip to main content

create_pty_shell

Function create_pty_shell 

Source
pub(super) async fn create_pty_shell(
    state: &AppState,
    req: &PtyShellCreateRequest,
) -> Result<Response, Response>
Expand description

POST /api/v1/ptyshell/create, step by step. Err carries a response that ends the call early: a refusal, or the attachment to the pane’s existing shell.