Table of Contents

Enum WebSocketPeer.State

Namespace
Godot
Assembly
GodotSharp.dll
public enum WebSocketPeer.State : long

Fields

Closed = 3

The connection is closed or couldn't be opened.

Closing = 2

The connection is in the process of closing. This means a close request has been sent to the remote peer but confirmation has not been received.

Connecting = 0

Socket has been created. The connection is not yet open.

Open = 1

The connection is open and ready to communicate.