Skip to main content

handle_host_upgrade_request

Function handle_host_upgrade_request 

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

POST /api/v1/host/upgrade_request: the user’s Upgrade now / Later on an agent’s upgrade request, relayed by the CEF host with its own token. The instance auth key, which every agent has, isn’t enough.