We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5665a3a commit 026a5b9Copy full SHA for 026a5b9
.clang-format
@@ -0,0 +1,2 @@
1
+# Use the Google style in this project.
2
+BasedOnStyle: Google
devserver/main.cc
@@ -1,11 +1,11 @@
#include "devserver/httplib/httplib.h"
3
-int main(int argc, char **argv)
4
-{
+int main(int argc, char **argv) {
5
httplib::Server svr;
6
7
- svr.Get("/", [](const httplib::Request &req, httplib::Response &res)
8
- { res.set_content("Hello World!", "text/plain"); });
+ svr.Get("/", [](const httplib::Request &req, httplib::Response &res) {
+ res.set_content("Hello World!", "text/plain");
+ });
9
10
svr.listen("localhost", 8080);
11
}
0 commit comments