• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

mount-origin/23-Nov-2023-191171

CMakeLists.txtD23-Nov-20232 KiB8070

README.mdD23-Nov-2023641 2617

localhost-100y.certD23-Nov-20232.1 KiB3534

localhost-100y.keyD23-Nov-20233.2 KiB5352

minimal-http-server-sse.cD23-Nov-20235.9 KiB225135

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