Skip to content

Latest commit

 

History

History

server-sent-events

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

server-sent-events

Demonstrates setting up, using and tearing down a server-sent-events event stream. Events are sent from multiple threads.

Getting Started

  1. Start the application: lein run
  2. Use curl http://localhost:8080 to see event stream data.
  3. Read the source code at src/server_sent_events/service.clj.

Configuration

To configure logging see config/logback.xml. By default, the app logs to stdout and logs/. To learn more about configuring Logback, read its documentation.

Links