Base class for applications using the PicoFramework.
void initRoutes() override
Define the application's HTTP routes.
void onEvent(const Event &e) override
Called when an event is dispatched to this controller.
void onStart() override
Called once at task start before entering the main loop.
void poll() override
Called during every loop iteration for non-blocking background logic.
Base class for applications using the framework.
Represents a framework event, optionally carrying payload data.