WSCSessionState Constants Reference
Declared in | WSCSessionState.h |
WSCSessionState
Represents the state of the WSCSession.
Definition
typedef NS_ENUM(NSInteger, WSCSessionState ) {
WSCSessionStateNone,
WSCSessionStateConnected,
WSCSessionStateReconnecting,
WSCSessionStateFailed,
WSCSessionStateClosed,
};
Constants
WSCSessionStateNone
-
Initial session state.
Declared In
WSCSessionState.h
. WSCSessionStateConnected
-
Session is connected.
Declared In
WSCSessionState.h
. WSCSessionStateReconnecting
-
Session lost connection with server and is reconnecting.
Declared In
WSCSessionState.h
. WSCSessionStateFailed
-
Session failed to connect or was abnormally closed.
Declared In
WSCSessionState.h
. WSCSessionStateClosed
-
Session has been normally terminated.
Declared In
WSCSessionState.h
.
Declared In
WSCSessionState.h