4. Building and Running

The HTTP server needs libvws built with libuv support. Start it and request its root with any HTTP client, such as curl:

$ ./server-http
server-http: HTTP server on http://127.0.0.1:8182/ (Ctrl-C to stop)
$ curl http://127.0.0.1:8182/
Hello world

The server returns the fixed Hello world body, with a Content-Length that always matches it. Press Ctrl-C to stop the server.