using Connected.Net; namespace Connected.Net.Hubs { public interface IServer { event EventHandler? Received; ClientMessages Messages { get; } Clients Clients { get; } Task Send(TArgs args); Task Receive(TArgs args); Task Acknowledge(string connection, IMessageAcknowledgeArgs args); } }