diff options
| author | Xavier Del Campo <xavier.delcampo@midokura.com> | 2023-11-16 12:57:27 +0100 |
|---|---|---|
| committer | Xavier Del Campo <xavier.delcampo@midokura.com> | 2023-11-20 16:06:20 +0100 |
| commit | c9edbbc4b04ba03c3fc2c1dc7768fdfecd04fec3 (patch) | |
| tree | 9e34e3f750ccb6cc6f2e2c7d14d8924c8ee56534 /examples/hello/README.md | |
| parent | 98f5f52461b0c1ab1ee3331722bd32e2db9e1d41 (diff) | |
| download | libweb-c9edbbc4b04ba03c3fc2c1dc7768fdfecd04fec3.tar.gz | |
examples/hello: Update according to handler_loop
Diffstat (limited to 'examples/hello/README.md')
| -rw-r--r-- | examples/hello/README.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/hello/README.md b/examples/hello/README.md index 24b747b..79c57fc 100644 --- a/examples/hello/README.md +++ b/examples/hello/README.md @@ -1,9 +1,13 @@ # "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. +executed, it starts a HTTP/1.1 server on a random port, which is then printed +to the standard output, and returns an example website when either `/` or +`/index.html` are accessed by clients, reading: + +``` +Hello from libweb! +``` ## How to build |
