mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-19 14:22:42 -06:00
Doc, Core: updarted network tutorial to use HttpStatus code instead of raw strings and numberes.
This commit is contained in:
parent
344f187626
commit
d0266a2c83
2 changed files with 24 additions and 9 deletions
|
|
@ -29,7 +29,7 @@ void ProcessHttpRequest(TcpSocket& client)
|
|||
}
|
||||
}
|
||||
|
||||
HttpResponse(client, false, HttpStatus::NOT_FOUND);
|
||||
HttpResponse(client, false, 404, "Not Found");
|
||||
}
|
||||
|
||||
void RunServerLoop(TcpSocket& server)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue