enum sap.ui.core.ws.ReadyState

Control sample: sap.ui.core.ws.ReadyState
Visiblity: public
Available since: N/A
Module: sap/ui/core/ws/ReadyState
Application Component: CA-UI5-COR

Defines the different ready states for a WebSocket connection.


Properties Overview

Node Description
sap.ui.core.ws.ReadyState.CLOSED

The connection has been closed or could not be opened.

sap.ui.core.ws.ReadyState.CLOSING

The connection is going through the closing handshake.

sap.ui.core.ws.ReadyState.CONNECTING

The connection has not yet been established.

sap.ui.core.ws.ReadyState.OPEN

The WebSocket connection is established and communication is possible.