описал интерфейсную часть аутентификации, пока оставил без реализации

This commit is contained in:
2024-11-04 11:44:35 +03:00
parent d9967b69e8
commit 82b433c447
11 changed files with 107 additions and 28 deletions

View File

@@ -30,7 +30,7 @@ http::resource::StaticFileResource::StaticFileResource(const std::string &path,
#endif
}
void http::resource::StaticFileResource::handle(const server::Request &req, server::reply &rep) {
void http::resource::StaticFileResource::handle(const server::Request &req, server::Reply &rep) {
if (req.method != "GET") {
stockReply(server::bad_request, rep);
return;
@@ -56,7 +56,7 @@ http::resource::GenericResource::GenericResource(const std::string &path, const
this->path = path;
}
void http::resource::GenericResource::handle(const server::Request &req, server::reply &rep) {
void http::resource::GenericResource::handle(const server::Request &req, server::Reply &rep) {
this->generator_(req, rep);
}