Status

public enum Status : String, CustomStringConvertible

Client status and transport (when applicable).

  • The client is waiting for a Server’s response in order to establish a connection.

    Declaration

    Swift

    case CONNECTING = "CONNECTING"
  • The client has received a preliminary response from the server and is currently verifying if a streaming connection is possible.

    Declaration

    Swift

    case CONNECTED_STREAM_SENSING = "CONNECTED:STREAM-SENSING"
  • A streaming connection over WebSocket is active.

    Declaration

    Swift

    case CONNECTED_WS_STREAMING = "CONNECTED:WS-STREAMING"
  • A streaming connection over HTTP is active.

    Declaration

    Swift

    case CONNECTED_HTTP_STREAMING = "CONNECTED:HTTP-STREAMING"
  • A polling connection over WebSocket is in progress.

    Declaration

    Swift

    case CONNECTED_WS_POLLING = "CONNECTED:WS-POLLING"
  • A polling connection over HTTP is in progress.

    Declaration

    Swift

    case CONNECTED_HTTP_POLLING = "CONNECTED:HTTP-POLLING"
  • The Server has not been sending data on an active streaming connection for longer than a configured time.

    Declaration

    Swift

    case STALLED = "STALLED"
  • No connection is currently active but one will be opened (possibly after a timeout).

    Declaration

    Swift

    case DISCONNECTED_WILL_RETRY = "DISCONNECTED:WILL-RETRY"
  • No connection is currently active, but one will be opened as soon as possible, as an attempt to recover the current session after a connection issue.

    Declaration

    Swift

    case DISCONNECTED_TRYING_RECOVERY = "DISCONNECTED:TRYING-RECOVERY"
  • No connection is currently active.

    Declaration

    Swift

    case DISCONNECTED = "DISCONNECTED"
  • Declaration

    Swift

    public var description: String { get }