Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::reload::RemoteUpdateConfig Struct Reference

#include <remote_update_fetch.hpp>

Public Attributes

bool enabled = false
 opt-in; default OFF (no network)
std::string base_url
 HTTPS update-check endpoint.
std::string plugin_id
std::string channel = "stable"
std::vector< std::uint8_t > trusted_public_key
 the pinned signer
std::uint64_t installed_pack_version = 0
view::CapabilitySet host_granted
 the ceiling a pushed UX may not exceed
std::filesystem::path install_base
 where an accepted pack is installed
std::filesystem::path offline_fallback_root
 Optional developer-provided pack to fall back to when offline, so the plugin keeps THEIR look with no network.
std::function< FetchedPack(const std::string &url)> fetcher
 Transport.

Member Data Documentation

◆ base_url

std::string pulp::format::reload::RemoteUpdateConfig::base_url

HTTPS update-check endpoint.

◆ channel

std::string pulp::format::reload::RemoteUpdateConfig::channel = "stable"

◆ enabled

bool pulp::format::reload::RemoteUpdateConfig::enabled = false

opt-in; default OFF (no network)

◆ fetcher

std::function<FetchedPack(const std::string& url)> pulp::format::reload::RemoteUpdateConfig::fetcher

Transport.

Inject your own (CDN / object store / authed server). When unset, the fetch cannot proceed and returns Unavailable — call make_http_pack_fetcher() (or your own) to enable it.

◆ host_granted

view::CapabilitySet pulp::format::reload::RemoteUpdateConfig::host_granted

the ceiling a pushed UX may not exceed

◆ install_base

std::filesystem::path pulp::format::reload::RemoteUpdateConfig::install_base

where an accepted pack is installed

◆ installed_pack_version

std::uint64_t pulp::format::reload::RemoteUpdateConfig::installed_pack_version = 0

◆ offline_fallback_root

std::filesystem::path pulp::format::reload::RemoteUpdateConfig::offline_fallback_root

Optional developer-provided pack to fall back to when offline, so the plugin keeps THEIR look with no network.

Surfaced as installed_root on Unavailable; never fetched, so it is the developer's own trusted/bundled content.

◆ plugin_id

std::string pulp::format::reload::RemoteUpdateConfig::plugin_id

◆ trusted_public_key

std::vector<std::uint8_t> pulp::format::reload::RemoteUpdateConfig::trusted_public_key

the pinned signer


The documentation for this struct was generated from the following file: