HTTP, WebSocket, TCP, Pub/Sub, Mesh Networking, Jobs, Cache, ORM — all in one framework. Include one header and you're ready to go.
Clients connect via HTTP, WebSocket, and TCP to a self-organizing mesh cluster
HTTP, WebSocket, and TCP — all running on the same node. Choose what you need, or use them together.
Full-featured HTTP routing with authentication, validation, and policies. Define your API endpoints with ease.
Real-time bidirectional communication with built-in connection management and message broadcasting.
Low-level TCP services for custom protocols. Full control over connection handling and data streams.
Public, private, and presence channels with JWT authorization, membership tracking, and expiration.
Key-value store with vector-clock consistency, TTL, and anti-entropy synchronization across the mesh.
Dispatch jobs, manage queues with worker pools. Configure retries and timeouts, all mesh-aware.
Define HTTP routes, WebSocket handlers, and TCP services with a clean, modern C++ API. Your services automatically join the mesh and start communicating.
RESTful APIs with routing, auth, validation, and policies
Real-time connections with channels and broadcasting
Custom protocols with full stream control
#include <framework.hpp>
using namespace framework;
using namespace framework::clients::http;
int main() {
framework::app app;
app.register_endpoint(
http_verb_t::get,
"/api/users",
[](const http_request& req) -> http_response_t {
auto res = helpers::make_base_http_response(
req, http_status_t::ok);
auto body = helpers::make_base_http_payload(
200, "ok");
helpers::finalize_response(res, body);
return res;
}
);
app.register_endpoint(
http_verb_t::post,
"/api/users",
create_user_handler,
create_user_validator,
nullptr,
false
);
app.run_http_service(8080);
app.run();
}Your services form a self-organizing cluster out of the box. Automatic node discovery via gossip protocol, with Raft consensus for distributed coordination.
Internal services: Cache, Pub/Sub, Jobs, MySQL ORM, and Raft consensus across mesh nodes
Nodes find each other via gossip protocol
Vector-clock consistency with TTL
Public, private, and presence channels
Include one header. Define your services. Let the framework handle the mesh.