aboutsummaryrefslogtreecommitdiff
path: root/examples/headers/README.md
blob: 01c243ac14ab8c121ad381bd70aa861217cd6850 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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`](../../CMakeLists.txt).

## How to run

Run the executable without any command line arguments.