From c9edbbc4b04ba03c3fc2c1dc7768fdfecd04fec3 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Date: Thu, 16 Nov 2023 12:57:27 +0100 Subject: examples/hello: Update according to handler_loop --- examples/hello/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'examples/hello/README.md') 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 -- cgit v1.2.3