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
aandb,a == bimplies thata != bisfalse.Declaration
Swift
public static func == (a: SwiftQUICState, b: SwiftQUICState) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
SwiftQUICState Enumeration Reference