Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
mount-origin/ | 03-May-2024 | - | 1,253 | 1,084 | ||
CMakeLists.txt | D | 03-May-2024 | 2.1 KiB | 81 | 71 | |
README.md | D | 03-May-2024 | 913 | 31 | 21 | |
localhost-100y.cert | D | 03-May-2024 | 2.1 KiB | 35 | 34 | |
localhost-100y.key | D | 03-May-2024 | 3.2 KiB | 53 | 52 | |
minimal-http-server-eventlib-demos.c | D | 03-May-2024 | 4.9 KiB | 192 | 141 |
README.md
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