• Home
Name Date Size #Lines LOC

..--

mount-origin/03-May-2024-1,2531,084

CMakeLists.txtD03-May-20242.1 KiB8171

README.mdD03-May-2024913 3121

localhost-100y.certD03-May-20242.1 KiB3534

localhost-100y.keyD03-May-20243.2 KiB5352

minimal-http-server-eventlib-demos.cD03-May-20244.9 KiB192141

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