DatasyncState

public struct DatasyncState : Codable, Equatable, CustomStringConvertible, CustomDebugStringConvertible

A value used to represent the state of the web socket opened by a DatasyncService instance.

Types

  • A value representing the connection state of the web socket.

    See more

    Declaration

    Swift

    @frozen
    public enum ConnectionState : Codable, Equatable, CustomStringConvertible

Stored Properties

Initializers

  • Creates a new value with an unreachable, disconnected and unauthenticated state.

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public init(from decoder: Decoder) throws

API

CustomStringConvertible Protocol

  • Declaration

    Swift

    public var description: String { get }

CustomDebugStringConvertible Protocol

  • Declaration

    Swift

    public var debugDescription: String { get }