class Server
Description
Acts as a server to maintain connections between multiple instances of your game (and possibly even different game engines!).
Underneath the hood, the Server
class is intended to implement a WebSocket
server that rejects anything but valid WebSocket connection requests.
Using this class is useful for game client to game client (peer-to-peer) communication. It is entirely possible, however, to write a more dedicated server for your game by Writing Your Own WebSocket Server. You would be more likely able to hard-code the server address at that point in your game, making it more seamless for your users.