DisconnectionReason

public enum DisconnectionReason : Int

This enum lists the various reasons that the server connection may be disconnected.

These are supplied in the delegate method.

  • Unkown reason.

    Declaration

    Swift

    case unknown = 0
  • The connection period has completed.

    Declaration

    Swift

    case timeout = 1
  • The server initiated the disconnection.

    Declaration

    Swift

    case serverDisconnected = 2
  • The client initiated the disconnection.

    Declaration

    Swift

    case clientDisconnected = 3
  • The server connection cannot be established.

    Declaration

    Swift

    case serverConnectionInvalid = 4