diff options
| author | xavi <xavi@noreply.localhost> | 2023-11-20 16:24:15 +0100 |
|---|---|---|
| committer | xavi <xavi@noreply.localhost> | 2023-11-20 16:24:15 +0100 |
| commit | 44676b84fd9aa689e4abbb588bead19a36061fa1 (patch) | |
| tree | 388e86e26531b1b6612e0a178fbd29cd89c86814 /examples/hello/README.md | |
| parent | 65031ca3502e0c27780be847fd97c112546741a9 (diff) | |
| parent | 2561ec32fe24e9cc81151193fbf2c55c94078816 (diff) | |
| download | libweb-44676b84fd9aa689e4abbb588bead19a36061fa1.tar.gz | |
Merge pull request 'Allow `listen_port` to return selected port number' (#1) from midokura-xavi/libweb:listen-port into master
Reviewed-on: https://gitea.privatedns.org/xavi/libweb/pulls/1
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 |
