FastLED 3.9.15
|
void fl::fetch | ( | const fl::string & | url, |
const FetchCallback & | callback ) |
Make an HTTP GET request (cross-platform, backward compatible)
url | The URL to fetch |
callback | Function to call with the response |
On WASM/browser platforms: Uses native JavaScript fetch() API On Arduino/embedded platforms: Immediately calls callback with error response
Definition at line 63 of file fetch.cpp.
References fl::response::set_text().
Referenced by fetch().