libweb/examples/headers
Xavier Del Campo Romero bc1d77983a
headers/main.c: Update to new handler interface
2023-11-20 17:05:21 +01:00
..
CMakeLists.txt Send HTTP headers to payload callback 2023-11-18 01:03:12 +01:00
Makefile Send HTTP headers to payload callback 2023-11-18 01:03:12 +01:00
README.md Send HTTP headers to payload callback 2023-11-18 01:03:12 +01:00
main.c headers/main.c: Update to new handler interface 2023-11-20 17:05:21 +01:00

README.md

HTTP headers example

This example shows a HTTP/1.1 server that listens to port 8080 and prints the headers received from the client (up to a maximum of max_headers) to standard output.

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.