|
FastLED 3.9.15
|
#include <fetch.h>
Collaboration diagram for fl::fetch_options:Public Member Functions | |
| fetch_options (const fl::string &url) | |
| fetch_options (const fl::string &url, const RequestOptions &options) | |
| fetch_options & | body (const fl::string &data) |
| Set request body. | |
| fetch_options & | header (const fl::string &name, const fl::string &value) |
| Add header. | |
| fetch_options & | json (const fl::string &json_data) |
| Set JSON body with proper content type. | |
| fetch_options & | method (const fl::string &http_method) |
| Set HTTP method. | |
| const RequestOptions & | options () const |
| Get the options for this request. | |
| fetch_options & | timeout (int timeout_ms) |
| Set timeout in milliseconds. | |
| const fl::string & | url () const |
| Get the URL for this request. | |
Private Attributes | |
| RequestOptions | mOptions |
| fl::string | mUrl |
Friends | |
| class | FetchManager |