Name Date Size

..25-Oct-20244 KiB

CMakeLists.txtH A D25-Oct-2024780

localhost-100y.certH A D25-Oct-20242.1 KiB

localhost-100y.keyH A D25-Oct-20243.2 KiB

minimal-http-server-sse.cH A D25-Oct-20246.1 KiB

mount-origin/H25-Oct-20244 KiB

README.mdH A D25-Oct-2024641

README.md

1# lws minimal http Server Side Events
2
3This demonstates serving both normal content and
4content over Server Side Events.
5
6## build
7
8```
9 $ cmake . && make
10```
11
12## usage
13
14You can give -s to listen using https on port :443
15
16```
17 $ ./lws-minimal-http-server-sse
18[2018/04/20 06:09:56:9974] USER: LWS minimal http Server-Side Events | visit http://localhost:7681
19[2018/04/20 06:09:57:0148] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off
20```
21
22Visit http://localhost:7681, which connects back to the server using SSE
23and displays the incoming data.  Connecting from multiple browsers shows
24content individual to the connection.
25
26