1# lws minimal http server eventlib demos 2 3This demonstrates a slightly more complex demo that can use 4any of the event loops (it defaults to poll) 5 6It uses statically included plugins to provide the lws test server functions 7 8Commandline option|Meaning 9---|--- 10-d <loglevel>|Debug verbosity in decimal, eg, -d15 11--uv|Use the libuv event library (lws must have been configured with `-DLWS_WITH_LIBUV=1`) 12--event|Use the libevent library (lws must have been configured with `-DLWS_WITH_LIBEVENT=1`) 13--ev|Use the libev event library (lws must have been configured with `-DLWS_WITH_LIBEV=1`) 14 15## build 16 17``` 18 $ cmake . && make 19``` 20 21## usage 22 23``` 24 $ ./lws-minimal-http-server-eventlib-demos 25[2018/03/04 09:30:02:7986] USER: LWS minimal http server-eventlib-demos | visit http://localhost:7681 26[2018/03/04 09:30:02:7986] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 on 27``` 28 29Visit http://localhost:7681 30 31