updated comments
This commit is contained in:
parent
501f7933ab
commit
eee137af70
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
|
@ -10,7 +10,7 @@ using namespace boost::property_tree;
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
//HTTP-server at port 8080 using 4 threads
|
//HTTP-server at port 8080 using 4 threads
|
||||||
HTTPServer httpserver(8080, 1);
|
HTTPServer httpserver(8080, 4);
|
||||||
|
|
||||||
//Add resources using regular expressions for path and method
|
//Add resources using regular expressions for path and method
|
||||||
//POST-example for the path /string, responds the posted string
|
//POST-example for the path /string, responds the posted string
|
||||||
|
|
@ -59,4 +59,4 @@ int main() {
|
||||||
httpserver.start();
|
httpserver.start();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue