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

Method onHeartbeatReceived

src/fl/stl/asio/http/connection.cpp.hpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void HttpConnection::onHeartbeatReceived() {
108 // Note: currentTimeMs should be passed, but for simplicity we don't update timestamp here
109 // The caller should update mLastDataReceivedMs via update()
110}
111
112bool HttpConnection::shouldSendHeartbeat(u32 currentTimeMs) const {
113 if (mState != ConnectionState::CONNECTED) {

Callers 1

recvMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected