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

Class RequestOptions

src/fl/net/http/fetch.h:184–192  ·  view source on GitHub ↗

Request options (matches JavaScript fetch RequestInit)

Source from the content-addressed store, hash-verified

182
183/// Request options (matches JavaScript fetch RequestInit)
184struct RequestOptions {
185 fl::string method = "GET";
186 fl_map<fl::string, fl::string> headers;
187 fl::string body;
188 int timeout_ms = 10000; // 10 second default
189
190 RequestOptions() FL_NOEXCEPT = default;
191 RequestOptions(const fl::string& method_name) : method(method_name) {}
192};
193
194/// Fetch options builder (fluent interface)
195class FetchOptions {

Callers 8

fetch.hFile · 0.85
fetch_getFunction · 0.85
fetch_postFunction · 0.85
fetch_putFunction · 0.85
fetch_deleteFunction · 0.85
fetch_headFunction · 0.85
fetch_http_optionsFunction · 0.85
fetch_patchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected