![]() |
MantisBase v0.4.9
|
HTTP router: route registration, schema cache, CORS, and built-in API endpoints. More...
#include <memory>#include <vector>#include <set>#include <atomic>#include <shared_mutex>#include <nlohmann/json.hpp>#include <drogon/utils/HttpConstraint.h>#include "route_registry.h"#include "models/entity.h"#include "../utils/utils.h"#include "types.h"#include "drogon/drogon_callbacks.h"#include "mantisbase/utils/snowflake.hpp"

Go to the source code of this file.
Classes | |
| class | mb::MbRouter |
| Central HTTP router and schema cache for a MantisBase instance. More... | |
Namespaces | |
| namespace | mb |
HTTP router: route registration, schema cache, CORS, and built-in API endpoints.
Bridges MantisBase handler/middleware chains (MbRouteRegistry) to Drogon's HTTP server. Also owns MbSSEMgr (SSE + WebSocket realtime) and the entity schema cache used on every CRUD request.