extract route

This commit is contained in:
Антон 2024-01-20 12:46:22 +03:00
parent 42382261a7
commit 4230d9ec24
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ StringResponse MakeStringResponse(http::status status,
StringResponse HandleRequest(StringRequest&& req)
{
// Подставьте сюда код из синхронной версии HTTP-сервера
auto route = req.target();
return MakeStringResponse(http::status::ok,
"Hello, World!"sv,
req.version(),