Skip to main content

Module qapps_protocol

Module qapps_protocol 

Source
Expand description

Loopback HTTP server mirroring Tauri’s qualia://localhost/ custom protocol.

Serves installed qapp assets from {storage_path}/Qapps/ so embedded WebViews can load sandboxed HTML without file:// CORS restrictions.

Functions§

qualia_protocol_port
qualia:// protocol port.
qualia_qapp_asset_url
http://127.0.0.1:{port}/{qapp}/index.html — WebView-safe launch URL.
qualia_qapp_launch_url
qualia-qapp-launch URL.
register_qualia_uri_handler
Registers the qualia:// URI handler.
start_qualia_protocol
Start the qualia asset server on 127.0.0.1 (idempotent).