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

Signals

    "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.

Methods

    public WebSocketPeer GetPeer(int peerId)

Returns the WebSocketPeer associated to the given peerId.

Tags: