using System; using ZeroLevel.Models; namespace ZeroLevel.Network { public interface IClient { InvokeResult Send(string inbox); InvokeResult Send(string inbox, byte[] data); InvokeResult Send(string inbox, T message); InvokeResult Request(string inbox, Action callback); InvokeResult Request(string inbox, byte[] data, Action callback); InvokeResult Request(string inbox, Action callback); InvokeResult Request(string inbox, Trequest request, Action callback); } }