Definition at line 171 of file RpcClient.ino.
171 {
172 Serial.println(
"=== Testing ASYNC_STREAM mode: streamData(5) ===");
173
174
176 request["jsonrpc"] = "2.0";
177 request["method"] = "streamData";
180 request["params"] = params;
182
185
187
189 Serial.println(
"Expecting ACK, then 5 updates, then final result...");
190}
fl::unique_ptr< fl::net::http::HttpStreamClient > transport
void push_back(const json &value) FL_NOEXCEPT
void printf(const char *format, const Args &... args) FL_NOEXCEPT
Printf-like formatting function that prints directly to the platform output.
References expectedRequestId, fl::printf(), fl::json::push_back(), requestId, Serial, transport, and waitingForResponse.
Referenced by loop().