Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Base class for WebSocket server and client.
Base class for WebSocket server and client, allowing them to be used as multiplayer peer for the MultiplayerAPI.
Note: When exporting to Android, make sure to enable the
INTERNET permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android.
PackedStringArray handshake_headers =
The extra headers to use during handshake. See WebSocketPeer.handshake_headers for more details.
float handshake_timeout =
The maximum time each peer can stay in a connecting state before being dropped.
int inbound_buffer_size =
The inbound buffer size for connected peers. See WebSocketPeer.inbound_buffer_size for more details.
int max_queued_packets =
void set_max_queued_packets ( int value