FastLED 3.10.9
Loading...
Searching...
No Matches

◆ streamJsonRpcId()

void fl::streamJsonRpcId ( fl::JsonStreamWriter & writer,
const fl::json & id )
inline

Definition at line 15 of file response_stream.h.

16 {
17 if (!id.has_value() || id.is_null()) {
18 writer.valueNull();
19 return;
20 }
21 // Echo the id exactly as received, including non-integer numbers.
22 writer.value(id);
23}
void value(const char *s) FL_NO_EXCEPT

References FL_NO_EXCEPT.

Referenced by streamJsonRpcResultEnvelope().

+ Here is the caller graph for this function: