Skip to content

platform/updates/net-feed-fetcher

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.

new NetFeedFetcher(base): NetFeedFetcher

Defined in: app/src/platform/updates/net-feed-fetcher.ts:12

URL

Root of the feed, such as the website or an organization mirror.

NetFeedFetcher

fetch(path): Promise<string | undefined>

Defined in: app/src/platform/updates/net-feed-fetcher.ts:16

string

Path relative to the feed root, such as updates/v1/index.json.

Promise<string | undefined>

The file as UTF-8 text, or undefined when the file does not exist.

FeedFetcher.fetch