anthracite/src/backends/backend.hpp
Nicholas Orlowsky 54d82b8c66
cleanup of source + build system
* seperated most parts into headers & source files
* seperated anthracite into libanthracite and anthracite-bin for modules
* built demo webAPI module
* rewrote some code to do things in the
* changed cmakelists to not build in src directory
2025-02-04 02:03:27 -05:00

21 lines
456 B
C++

#pragma once
#include <memory>
#include "../http/request.hpp"
#include "../http/response.hpp"
namespace anthracite::backends {
class backend {
public:
backend() = default;
virtual ~backend() = default;
backend(backend const&) = delete;
backend& operator = (backend const&) = delete;
backend(backend&&) = delete;
backend& operator=(backend&&) = delete;
virtual std::unique_ptr<http::response> handle_request(http::request& req) = 0;
};
};