Back to Socket Io Client Swift

SocketIOStatus

docs/Enums/SocketIOStatus.html

16.1.11.2 KB
Original Source

SocketIOStatus

@objc
public enum SocketIOStatus : Int, CustomStringConvertible

Represents state of a manager or client.

Cases

`

                notConnected
                `

The client/manager has never been connected. Or the client has been reset.

Declaration

Swift

case notConnected

`

                disconnected
                `

The client/manager was once connected, but not anymore.

Declaration

Swift

case disconnected

`

                connecting
                `

The client/manager is in the process of connecting.

Declaration

Swift

case connecting

`

                connected
                `

The client/manager is currently connected.

Declaration

Swift

case connected

Properties

`

                active
                `

Declaration

Swift

public var active: Bool { get }

Return Value

True if this client/manager is connected/connecting to a server.

`

                description
                `

Declaration

Swift

public var description: String { get }