Important: This news article covers an old version of Javalin (v1.1.1). The current version is v6.3.0.
See the documentation page for up-to-date information.

Changes

In Javalin 1.1.0 and before, you had to define handlers for onConnect, onMessage and onClose for WebSockets to work. As of 1.1.1, all handlers are optional.