We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good day,
Do you have any example that illustrates how the above can be developed using the framework?
Regards
The text was updated successfully, but these errors were encountered:
Sorry for the late reply. While there is no support for Web Sockets, usage of ServerSentEvent on the server side is quite easy.
Setup your SSE URL in initializeRoutes() in the Bootstrap class, e.g.
... Bind.serverSentEvent().to("/mysse"); ...
Then send data to your SSE endpoint using the ServerSentEventManager at any point in your application.
... private final ServerSentEventManager sse; ... sse.send("/sse", "myData"); ...
Everything else is handled on the client side, e.g.
https://www.w3schools.com/html/html5_serversentevents.asp
Sorry, something went wrong.
No branches or pull requests
Good day,
Do you have any example that illustrates how the above can be developed using the framework?
Regards
The text was updated successfully, but these errors were encountered: