Use existing WASM fetch infrastructure
| 46 | |
| 47 | // Use existing WASM fetch infrastructure |
| 48 | void 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 |
| 54 | fl::task::Promise<Response> execute_fetch_request(const fl::string& url, const FetchOptions& request) { |
nothing calls this directly
no test coverage detected