using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SafeMobileLib.WebsocketClient.Models { /// /// Info about happened reconnection /// public class ReconnectionInfo { /// public ReconnectionInfo(ReconnectionType type) { Type = type; } /// /// Reconnection reason /// public ReconnectionType Type { get; } /// /// Simple factory method /// public static ReconnectionInfo Create(ReconnectionType type) { return new ReconnectionInfo(type); } } }