Skip to main content

handle_host_app_update

Function handle_host_app_update 

Source
pub(crate) async fn handle_host_app_update(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<HostAppUpdateAction>,
) -> Response
Expand description

POST /api/v1/host/app_update: Download, Upgrade & restart (or Restart now) and Cancel in the version panel, relayed by the CEF host with its own token. Answers the status after the action, as data.