FastLED 3.10.8
Loading...
Searching...
No Matches

◆ onEvent()

void fl::HttpConnection::onEvent ( const asio::error_code & ec,
u32 currentTimeMs = 0 )

Definition at line 93 of file connection.cpp.hpp.

93 {
94 if (ec.ok()) {
95 onConnected(currentTimeMs);
96 } else if (ec.code == asio::errc::eof || ec.code == asio::errc::connection_reset) {
98 } else {
99 onError();
100 }
101}
void onError() FL_NO_EXCEPT
void onConnected(u32 currentTimeMs=0) FL_NO_EXCEPT
void onDisconnected() FL_NO_EXCEPT

References fl::asio::connection_reset, fl::asio::eof, fl::FL_NO_EXCEPT, onConnected(), onDisconnected(), and onError().

+ Here is the call graph for this function: