Start listening on the given port.
You can specify the desired subprotocols via the "protocols" array. If the list empty (default), "binary" will be used.
You can use this server as a network peer for MultiplayerAPI by passing true as gd_mp_api. Note: dataReceived will not be fired and clients other than Godot will not work in this case.
Start listening on the given port. You can specify the desired subprotocols via the "protocols" array. If the list empty (default), "binary" will be used. You can use this server as a network peer for MultiplayerAPI by passing true as gd_mp_api. Note: dataReceived will not be fired and clients other than Godot will not work in this case.