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

◆ get_content_type()

fl::optional< fl::string > fl::response::get_content_type ( ) const
inline

Get content type convenience method.

Definition at line 112 of file fetch.h.

112 {
113 return get_header("content-type");
114 }
fl::optional< fl::string > get_header(const fl::string &name) const
Get header value (like JavaScript response.headers.get())
Definition fetch.h:103

References get_header().

Referenced by is_json(), test_await_approach(), and test_promise_approach().

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