FastLED 3.10.8
Loading...
Searching...
No Matches

◆ json()

Response & fl::asio::http::Response::json ( const class json & data)

Set JSON response body with automatic Content-Type header.

Parameters
dataJSON object to serialize
Returns
Reference to this for chaining

Definition at line 1134 of file server.cpp.hpp.

1134{ return *this; }

References Response(), fl::FL_NO_EXCEPT, and json().

Referenced by Response(), json(), setup(), and test_json_await().

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