Godot::WebSocketPeer
Inherits Godot::PacketPeer < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
accept_stream(stream : StreamPeer) : Int64
Sourceclose(code : Int64, reason : String) : Void
Sourceconnect_to_url(url : String, tls_client_options : TLSOptions) : Int64
Sourceget_close_code
Sourceget_close_reason
Sourceget_connected_host
Sourceget_connected_port
Sourceget_current_outbound_buffered_amount
Sourceget_handshake_headers
Sourceget_heartbeat_interval
Sourceget_inbound_buffer_size
Sourceget_max_queued_packets
Sourceget_outbound_buffer_size
Sourceget_ready_state
Sourceget_requested_url
Sourceget_selected_protocol
Sourceget_supported_protocols
Sourcepoll
Sourcesend(message : Pointer(Void), write_mode : Int64) : Int64
Sourcesend_text(message : String) : Int64
Sourceset_handshake_headers(protocols : Pointer(Void)) : Void
Sourceset_heartbeat_interval(interval : Float64) : Void
Sourceset_inbound_buffer_size(buffer_size : Int64) : Void
Sourceset_max_queued_packets(buffer_size : Int64) : Void
Sourceset_no_delay(enabled : Bool) : Void
Sourceset_outbound_buffer_size(buffer_size : Int64) : Void
Sourceset_supported_protocols(protocols : Pointer(Void)) : Void
Sourcewas_string_packet
Source