Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
server.hpp File Reference
#include <chrono>
#include "native.h"
#include <asio.hpp>
#include <asio/experimental/awaitable_operators.hpp>
#include <spdlog/spdlog.h>
#include "utils.hpp"
#include "session_manager.hpp"
#include "session.hpp"
#include "http.hpp"
#include "route.hpp"

Go to the source code of this file.

Classes

class  dcn::Server
 A class representing a server for handling HTTP requests. More...
 

Namespaces

namespace  dcn
 

Typedefs

using dcn::HandlerDefinition = std::function< asio::awaitable< dcn::http::Response >(const dcn::http::Request &, std::vector< RouteArg >, QueryArgsList)>
 Type representing a route handler function.