1
0
Fork 0
libweb/examples/hello
Xavier Del Campo Romero c6083ca223
examples: Fix wrong library name
2023-10-25 14:10:52 +02:00
..
CMakeLists.txt Rename project from slweb to libweb 2023-10-11 00:07:13 +02:00
Makefile examples: Fix wrong library name 2023-10-25 14:10:52 +02:00
README.md Rename project from slweb to libweb 2023-10-11 00:07:13 +02:00
main.c Rename project from slweb to libweb 2023-10-11 00:07:13 +02:00

README.md

"Hello world" example

This example shows a minimal setup for an application using libweb. When executed, it starts a HTTP/1.1 server on port 8080 and returns an example website reading "Hello from libweb!" when either / or /index.html are accessed by clients.

How to build

If using make(1), just run make from this directory.

If using CMake, examples are built by default when configuring the project from the top-level CMakeLists.txt.

How to run

Run the executable without any command line arguments.