These tutorials target Micronaut Framework 3. Read, Guides for Micronaut Framework 4.

API

Expose a WebSocket Server in a Micronaut Application

Build a chat application by exposing a WebSocket Server with the Micronaut Framework

JavaKotlinGroovy
Gradle Read
Maven Read