mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-28 15:39:11 +00:00
Apply clangformat
This commit is contained in:
parent
a91a0b7dbf
commit
5d082f1da4
6 changed files with 2833 additions and 2970 deletions
|
@ -8,15 +8,14 @@
|
|||
#include <httplib.h>
|
||||
using namespace httplib;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Server svr;
|
||||
int main(void) {
|
||||
Server svr;
|
||||
|
||||
svr.Get("/hi", [](const Request& /*req*/, Response& res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
svr.Get("/hi", [](const Request & /*req*/, Response &res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
svr.listen("localhost", 1234);
|
||||
svr.listen("localhost", 1234);
|
||||
}
|
||||
|
||||
// vim: et ts=4 sw=4 cin cino={1s ff=unix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue