|
MantisBase v0.3.4
|
Realtime database change detection for SQLite and PostgreSQL. More...
#include <condition_variable>#include <functional>#include <memory>#include <mutex>#include <string>#include <thread>#include "mantisbase/mantis.h"#include "nlohmann/json.hpp"

Go to the source code of this file.
Classes | |
| class | mb::RealtimeDB |
| class | mb::RtDbWorker |
Namespaces | |
| namespace | soci |
| namespace | mb |
| router.h | |
Typedefs | |
| using | mb::RtCallback = std::function< void(const json &)> |
Realtime database change detection for SQLite and PostgreSQL.
Provides live change notifications for entity tables so that SSE (Server-Sent Events) and other consumers can broadcast insert, update, and delete events. Supported backends:
Used in conjunction with sse.h to power the /api/v1/realtime SSE endpoint.