Creating WebSocketServer in Godot 4.4

Godot Version

Godot 4.4

Question

Hi I am following the documentation here: WebSocket — Godot Engine (4.4) documentation in English and I am facing an issue when typing the 3rd line
var _server = WebSocketServer.new()
because Godot is complaining that Identifier “WebSocketServer” not declared in the current scope. What should I do?

This documentation page is outdated. You can use the latest version Using WebSockets — Godot Engine (latest) documentation in English insead.

1 Like