Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 612 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 612 Bytes

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