рефактор статических файлов, добавлено удобное API и поддержка кеширования

This commit is contained in:
2024-11-04 14:17:34 +03:00
parent 82b433c447
commit 0b794fac40
6 changed files with 217 additions and 117 deletions

View File

@@ -3,3 +3,13 @@
//
#include "resources.h"
#include <utility>
// http::auth::AuentificationRequiredResource::AuentificationRequiredResource(const std::string &path, AuthProvider& provider, resource::respGenerator generator): BasicResource(path), generator_(std::move(generator)) {
// }
//
// void http::auth::AuentificationRequiredResource::handle(const server::Request &req, server::Reply &rep) {
// }
//
// http::auth::AuentificationRequiredResource::~AuentificationRequiredResource() = default;