MCPcopy Create free account
hub / github.com/FastLED/FastLED / fetch

Function fetch

src/fl/net/http/fetch.cpp.hpp:48–51  ·  view source on GitHub ↗

Use existing WASM fetch infrastructure

Source from the content-addressed store, hash-verified

46
47// Use existing WASM fetch infrastructure
48void fetch(const fl::string& url, const FetchCallback& callback) {
49 // Use the existing WASM fetch implementation - no conversion needed since both use fl::response
50 ::fl::wasm_fetch.get(url).response(callback);
51}
52
53// Internal helper to execute a fetch request and return a promise
54fl::task::Promise<Response> execute_fetch_request(const fl::string& url, const FetchOptions& request) {

Callers

nothing calls this directly

Calls 6

execute_fetch_requestFunction · 0.85
FetchOptionsClass · 0.85
responseMethod · 0.80
set_bodyMethod · 0.80
set_textMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected