# GBSRReadyState Constants Reference

Declared in | GBSRWebSocket.h

### GBSRReadyState

#### Definition

`typedef NS_ENUM(NSInteger, GBSRReadyState ) {
GBSR_CONNECTING = 0,
GBSR_OPEN = 1,
GBSR_CLOSING = 2,
GBSR_CLOSED = 3,
};`

#### Constants

`GBSR_CONNECTING`

  Declared In `GBSRWebSocket.h`.

`GBSR_OPEN`

  Declared In `GBSRWebSocket.h`.

`GBSR_CLOSING`

  Declared In `GBSRWebSocket.h`.

`GBSR_CLOSED`

  Declared In `GBSRWebSocket.h`.