SwiftQUICState

public enum SwiftQUICState : Equatable
  • The initial state prior to start

    Declaration

    Swift

    case setup
  • Waiting connections have not yet been started, or do not have a viable network

    Declaration

    Swift

    case waiting(NSError)
  • Preparing connections are actively establishing the connection

    Declaration

    Swift

    case preparing
  • Ready connections can send and receive data

    Declaration

    Swift

    case ready
  • Failed connections are disconnected and can no longer send or receive data

    Declaration

    Swift

    case failed(NSError)
  • Cancelled connections have been invalidated by the client and will send no more events

    Declaration

    Swift

    case cancelled
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    public static func == (a: SwiftQUICState, b: SwiftQUICState) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.