WebSocketMultiplayerPeer

Inherits: MultiplayerPeer < PacketPeer < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

PackedStringArray

handshake_headers

PackedStringArray()

float

handshake_timeout

3.0

int

inbound_buffer_size

65535

int

max_queued_packets

2048

int

outbound_buffer_size

65535

PackedStringArray

supported_protocols

PackedStringArray()

Methods

Error

create_client ( String url, TLSOptions tls_client_options=null )

Error

create_server ( int port, String bind_address=”*”, TLSOptions tls_server_options=null )

WebSocketPeer

get_peer ( int peer_id ) const

String

get_peer_address ( int id ) const

int

get_peer_port ( int id ) const


Property Descriptions

PackedStringArray handshake_headers = PackedStringArray()

There is currently no description for this property. Please help us by contributing one!


float handshake_timeout = 3.0

  • void set_handshake_timeout ( float value )

  • float get_handshake_timeout ( )

There is currently no description for this property. Please help us by contributing one!


int inbound_buffer_size = 65535

  • void set_inbound_buffer_size ( int value )

  • int get_inbound_buffer_size ( )

There is currently no description for this property. Please help us by contributing one!


int max_queued_packets = 2048

  • void set_max_queued_packets ( int value )

  • int get_max_queued_packets ( )

There is currently no description for this property. Please help us by contributing one!


int outbound_buffer_size = 65535

  • void set_outbound_buffer_size ( int value )

  • int get_outbound_buffer_size ( )

There is currently no description for this property. Please help us by contributing one!


PackedStringArray supported_protocols = PackedStringArray()

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

Error create_client ( String url, TLSOptions tls_client_options=null )

There is currently no description for this method. Please help us by contributing one!


Error create_server ( int port, String bind_address=”*”, TLSOptions tls_server_options=null )

There is currently no description for this method. Please help us by contributing one!


WebSocketPeer get_peer ( int peer_id ) const

There is currently no description for this method. Please help us by contributing one!


String get_peer_address ( int id ) const

There is currently no description for this method. Please help us by contributing one!


int get_peer_port ( int id ) const

There is currently no description for this method. Please help us by contributing one!