Skip to main content

handle_import

Function handle_import 

Source
pub(crate) async fn handle_import(
    _state: &AppState,
    _call: &WebCallType,
) -> WebReturnType
Expand description

workspace.ImportUserWorkspace on the HTTP service route: refused. Whether the file’s commands run and its agents start is the person’s answer in the preview, and this route cannot tell the person’s window from any other caller, so the import is the websocket command workspace.importuserworkspace, which only the window may call.