Base class for WebSocket server and client. Base class for WebSocket server and client, allowing them to be used as network peer for the [MultiplayerAPI]. Returns the [WebSocketPeer] associated to the given [code]peer_id[/code]. Emitted when a packet is received from a peer. Note: this signal is only emitted when the client or server is configured to use Godot multiplayer API.