Skip to main content

device_connect_urls_handler

Function device_connect_urls_handler 

Source
async fn device_connect_urls_handler(
    __arg0: State<BraidAppState>,
    session_key: SessionKey,
) -> impl IntoResponse
Expand description

Returns the URLs (one per reachable network interface) at which this web UI can be reached, each carrying a freshly minted short-lived access token. The frontend turns these into QR codes for connecting another device.