Files
Signal-Desktop/ts/types/SocketStatus.ts
2020-02-12 13:30:58 -08:00

9 lines
229 B
TypeScript

// Maps to values found here: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState
// which are returned by libtextsecure's MessageReceiver
export enum SocketStatus {
CONNECTING,
OPEN,
CLOSING,
CLOSED,
}