According to Minimal server example in the networking tutorials, there should be a WebSocketServer class; however, I don't see any at the API reference.

# Our WebSocketServer instance
var _server = WebSocketServer.new()

It is outdated by the way, but then which is the way now?

3 months later

Armynator Thank you for the reference. I have used this and adapted it to work. Really appreciated.