Add HTTP support and update checking
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s

This commit is contained in:
smallmodel 2025-02-23 21:30:56 +01:00
parent 2c72908f76
commit 01381ed084
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
104 changed files with 111355 additions and 25 deletions

View file

@ -0,0 +1,12 @@
#include "httplib.h"
using namespace httplib;
int main() {
Server svr;
svr.Get("/", [](const Request &, Response &res) {
res.set_content("Hello World!", "text/plain");
});
svr.listen("0.0.0.0", 8080);
}