SRReadyState Constants Reference

Declared in SRWebSocket.h

SRReadyState

Definition

typedef NS_ENUM(NSInteger, SRReadyState ) {
   SR_CONNECTING = 0,
   SR_OPEN = 1,
   SR_CLOSING = 2,
   SR_CLOSED = 3,
};

Constants

SR_CONNECTING

Declared In SRWebSocket.h.

SR_OPEN

Declared In SRWebSocket.h.

SR_CLOSING

Declared In SRWebSocket.h.

SR_CLOSED

Declared In SRWebSocket.h.