FastLED 3.9.15
Loading...
Searching...
No Matches

◆ header()

FetchOptions & fl::net::http::FetchOptions::header ( const fl::string & name,
const fl::string & value )
inline

Add header.

Definition at line 208 of file fetch.h.

208 {
209 mOptions.headers[name] = value;
210 return *this;
211 }
RequestOptions mOptions
Definition fetch.h:240
constexpr int type_rank< T >::value

References FetchOptions(), mOptions, and fl::type_rank< T >::value.

Referenced by fl::net::http::fetch_delete(), fl::net::http::fetch_get(), fl::net::http::fetch_head(), fl::net::http::fetch_http_options(), fl::net::http::fetch_patch(), fl::net::http::fetch_post(), fl::net::http::fetch_put(), and test_await_approach().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: