Example of streaming JSON objects using akka http on the backend and oboe.js on the frontend to handle events.
sbt run
- Open
localhost:9000
whilst the server is running to view stream events. - curl -m 1 http://localhost:9000/tickStream - Stream that generates Tick with incremental numbers
- curl -m 1 http://localhost:9000/primeTickStream - Stream that generates Tick with prime numbers
Inspired by https://github.com/benblack86/spray-oboe-json-streaming by Benjamin Black