Skip to main content

handle_os_open_link

Function handle_os_open_link 

Source
pub(super) async fn handle_os_open_link(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<OsOpenRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/host/deeplink_open: the host hands over a link another program opened. Answers the outcome of R3 (200) for every open it decided, refused ones included, each recorded, with the window_id it opened in when it chose one; 403 for any caller but the host.