MCPcopy Create free account
hub / github.com/FastLED/FastLED / recvData

Method recvData

src/fl/net/http/stream_client.cpp.hpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87int HttpStreamClient::recvData(fl::span<u8> buffer) {
88 if (!isConnected()) {
89 return -1;
90 }
91 return mNativeClient->recv(buffer);
92}
93
94void HttpStreamClient::triggerReconnect() {
95 // Disconnect and let the base class reconnection logic handle it

Callers

nothing calls this directly

Calls 1

recvMethod · 0.45

Tested by

no test coverage detected