FastLED 3.9.15
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 961 of file server.cpp.hpp.

961{ return *this; }

References Response(), 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: