class

Godot::WebSocketMultiplayerPeer

Inherits Godot::MultiplayerPeer < Godot::PacketPeer < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

create_client(url : String, tls_client_options : TLSOptions) : Int64
Source
create_server(port : Int64, bind_address : String, tls_server_options : TLSOptions) : Int64
Source
get_handshake_headers
Source
get_handshake_timeout
Source
get_inbound_buffer_size
Source
get_max_queued_packets
Source
get_outbound_buffer_size
Source
get_peer(peer_id : Int64) : WebSocketPeer
Source
get_peer_address(id : Int64) : String
Source
get_peer_port(id : Int64) : Int64
Source
get_supported_protocols
Source
handshake_headers

Property handshake_headers getter

Source
handshake_headers=(val)

Property handshake_headers setter

Source
handshake_timeout

Property handshake_timeout getter

Source
handshake_timeout=(val : Number)

Property handshake_timeout setter

Source
inbound_buffer_size

Property inbound_buffer_size getter

Source
inbound_buffer_size=(val : Int)

Property inbound_buffer_size setter

Source
max_queued_packets

Property max_queued_packets getter

Source
max_queued_packets=(val : Int)

Property max_queued_packets setter

Source
outbound_buffer_size

Property outbound_buffer_size getter

Source
outbound_buffer_size=(val : Int)

Property outbound_buffer_size setter

Source
set_handshake_headers(protocols : Pointer(Void)) : Void
Source
set_handshake_timeout(timeout : Float64) : Void
Source
set_inbound_buffer_size(buffer_size : Int64) : Void
Source
set_max_queued_packets(max_queued_packets : Int64) : Void
Source
set_outbound_buffer_size(buffer_size : Int64) : Void
Source
set_supported_protocols(protocols : Pointer(Void)) : Void
Source
supported_protocols

Property supported_protocols getter

Source
supported_protocols=(val)

Property supported_protocols setter

Source