extract route
This commit is contained in:
parent
42382261a7
commit
4230d9ec24
3
main.cpp
3
main.cpp
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user