21#ifndef FRAMEWORK_APP_H
22#define FRAMEWORK_APP_H
59 FrameworkApp(
int port,
const char* name =
"AppTask", uint16_t stackSize = 2048, UBaseType_t priority = tskIDLE_PRIORITY + 1);
The FrameworkController class for event-driven control logic in embedded applications.
Orchestrates application startup and network initialization.
HTTP Server class that listens for connections and dispatches requests to a Router.
HTTP routing with middleware and optional JWT-based authorization. Part of the PicoFramework HTTP ser...
Base class for applications using the framework.
virtual ~FrameworkApp()=default
Virtual destructor.
HttpServer server
Embedded HTTP server instance.
virtual void initRoutes()
Define the application's HTTP routes.
Router router
Router instance for handling HTTP routes.
FrameworkManager manager
Responsible for launching system services and networking.
virtual void start()
Initializes the application and its framework services.
void onStart() override
Starts the Framework Manager.
Base class for event-driven control logic in embedded applications.
Starts and coordinates core system services like networking and time sync.
HTTP Server that listens for incoming connections and dispatches requests.
The central router for handling HTTP requests and middleware.