pub fn response(
context: UriSchemeContext<'_, Wry>,
request: Request<Vec<u8>>,
) -> Response<Vec<u8>>Expand description
Serves widget://<id>/<path> from the widget’s install folder to the main window and widget
popouts only.
Rejects invalid IDs, non-normal path components, and files that resolve outside the widget folder, and serves assets under a restrictive Content Security Policy.