Skip to content
New issue

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

Ktor to 3.0.0 and refactor SSE handling #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antonarhipov
Copy link

Hello! I found this little demo and though I'd contribute a few updates as Ktor 3.0 is out.

I have upgraded the dependencies to Ktor 3.0 and latest Kotlin (2.0.21) along with some other dependencies

In Ktor 3.0 we added support for SSE and it simplifies this example a bit. Though, this specific use case is better suited for WebSockets, it seems.

Upgraded project dependencies, including Ktor, Kotlin, and HikariCP, to the latest versions. Refactored Server-Sent Events (SSE) handling to use built-in Ktor SSE features and updated the method for connecting to the PostgreSQL database. Also, modified the layout and styles to align with the updated dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant