mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Added comment.
This commit is contained in:
parent
ac5c13620c
commit
8b58a3aecc
2 changed files with 9 additions and 9 deletions
|
@ -9,9 +9,9 @@
|
|||
|
||||
int main(void)
|
||||
{
|
||||
HTTP_SERVER("localhost", 1234) {
|
||||
GET("/hi", {
|
||||
res.set_content("Hello World!");
|
||||
HTTP_SERVER("localhost", 1234) /* svr_ */ {
|
||||
GET("/hi", /* req_, res_ */ {
|
||||
res_.set_content("Hello World!");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue