Doc, Core: updarted network tutorial to use HttpStatus code instead of raw strings and numberes.

This commit is contained in:
Zbigniew Rębacz 2024-04-13 10:10:46 +02:00
parent 344f187626
commit d0266a2c83
2 changed files with 24 additions and 9 deletions

View file

@ -29,7 +29,7 @@ void ProcessHttpRequest(TcpSocket& client)
}
}
HttpResponse(client, false, HttpStatus::NOT_FOUND);
HttpResponse(client, false, 404, "Not Found");
}
void RunServerLoop(TcpSocket& server)