Files
playground/Web/WebSocket/websocket-chat/apps/frontend/src/websockets/WebSocketConnectionStatus.ts

8 lines
128 B
TypeScript

export enum WebSocketConnectionStatus {
Connecting = 0,
Open = 1,
Closing = 2,
Closed = 3,
Error = 4
}