MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / fetch

Function fetch

frontend/util/fetchutil.ts:16–22  ·  view source on GitHub ↗
(input: string | GlobalRequest | URL, init?: RequestInit)

Source from the content-addressed store, hash-verified

14}
15
16export function fetch(input: string | GlobalRequest | URL, init?: RequestInit): Promise<Response> {
17 if (net) {
18 return net.fetch(input.toString(), init);
19 } else {
20 return globalThis.fetch(input, init);
21 }
22}

Callers 8

fetchWaveFileFunction · 0.90
callBackendServiceFunction · 0.90
fetchAndSanitizeCssFunction · 0.85
sendTermInputEventFunction · 0.85
_sendRenderRequestMethod · 0.85
sendModalResultMethod · 0.85
getTtfFontFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected