1# lws minimal http Server Side Events + ringbuffer 2 3This demonstates serving both normal content and 4content over Server Side Events, where all clients 5see the same data via a ringbuffer. 6 7Two separate threads generate content into the 8ringbuffer at random intervals. 9 10## build 11 12``` 13 $ cmake . && make 14``` 15 16## usage 17 18``` 19 $ ./lws-minimal-http-server-sse 20[2018/04/20 06:09:56:9974] USER: LWS minimal http Server-Side Events + ring | visit http://localhost:7681 21[2018/04/20 06:09:57:0148] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off 22``` 23 24Visit http://localhost:7681, which connects back to the server using SSE 25and displays the incoming data. Connecting from multiple browsers shows 26the same content from the server ringbuffer. 27 28