using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TouchSocket.Rpc.TouchRpc { /// /// 带有协议的发送 /// public interface IRpcActorSender { /// /// 发送字节 /// /// /// /// /// void Send(short protocol, byte[] buffer, int offset, int length); /// /// 发送字节 /// /// /// /// /// Task SendAsync(short protocol, byte[] buffer, int offset, int length); } }