Skip to content

Instantly share code, notes, and snippets.

@akgupta
Created January 31, 2020 23:30
Show Gist options
  • Save akgupta/95c604c4768de30f2101922f416163f9 to your computer and use it in GitHub Desktop.
Save akgupta/95c604c4768de30f2101922f416163f9 to your computer and use it in GitHub Desktop.
return ok().chunked(eventSource.via(EventSource.flow())).as(Http.MimeTypes.EVENT_STREAM);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment