MCPcopy Create free account
hub / github.com/Botloader/botloader / ApiFetcher

Interface ApiFetcher

frontend-common/src/api_client.ts:319–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318// just some simple abstractions so that we can use this in both a node and browser context
319export interface ApiFetcher {
320 fetch(path: string, opts: FetcherOpts): Promise<FetchResponse>;
321}
322
323export interface FetcherHeaders {
324 [index: string]: string,

Callers 5

runMethod · 0.65
do_loginMethod · 0.65
session_mwFunction · 0.65
CreateFetcherFunction · 0.65
doMethod · 0.65

Implementers 2

ClientCachecomponents/discordoauthwrapper/src/cac
NewsPollercomponents/webapi/src/news_poller.rs

Calls

no outgoing calls

Tested by

no test coverage detected