Base class for WebSocket server and client.
    public abstract class WebSocketMultiplayerPeer : NetworkedMultiplayerPeer

Base class for WebSocket server and client, allowing them to be used as network peer for the MultiplayerAPI.

Inheritance Chain

Derived Classes


    "peer_packet" (int peer_source)

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.


    public WebSocketPeer GetPeer(int peerId)

Returns the WebSocketPeer associated to the given peerId.