|
FastLED 3.9.15
|
| void fl::net::http::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 403 of file fetch.cpp.hpp.
References fl::net::http::Response::set_text().
Referenced by fetch().
Here is the call graph for this function:
Here is the caller graph for this function: