enum

Godot::WebSocketPeer::State

Inherits Enum < Comparable < Value < Object

Constants

StateConnecting = 0_i64
StateOpen = 1_i64
StateClosing = 2_i64
StateClosed = 3_i64

Instance methods

state_closed?

Returns true if this enum value equals StateClosed

Source
state_closing?

Returns true if this enum value equals StateClosing

Source
state_connecting?

Returns true if this enum value equals StateConnecting

Source
state_open?

Returns true if this enum value equals StateOpen

Source