Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
gradle/wrapper
src/test/java/com/example
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Spring Boot Reactive Webflux Server-Sent Events

This is a sample application that shows how to use Server-Sent Events using:

  • Spring Boot 2
  • Spring Webflux

Please see the following pages for more details

Running

Run this using using the gradle wrapper included

./gradlew bootRun

This will start the application on port 8080.

cURL Commands

You can try the following API once the server is running.

GET /stock/transaction

curl -v http://localhost:8080/stock/transaction