platform/updates/net-feed-fetcher
Classes
Section titled “Classes”NetFeedFetcher
Section titled “NetFeedFetcher”Defined in: app/src/platform/updates/net-feed-fetcher.ts:8
Loads feed files through Chromium’s network stack, so system proxies and certificates apply as they do for browsing.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NetFeedFetcher(
base):NetFeedFetcher
Defined in: app/src/platform/updates/net-feed-fetcher.ts:12
Parameters
Section titled “Parameters”URL
Root of the feed, such as the website or an organization mirror.
Returns
Section titled “Returns”Methods
Section titled “Methods”fetch()
Section titled “fetch()”fetch(
path):Promise<string|undefined>
Defined in: app/src/platform/updates/net-feed-fetcher.ts:16
Parameters
Section titled “Parameters”string
Path relative to the feed root, such as updates/v1/index.json.
Returns
Section titled “Returns”Promise<string | undefined>
The file as UTF-8 text, or undefined when the file does not exist.