mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-14 01:14:37 +00:00
10 lines
329 B
C#
10 lines
329 B
C#
|
using System.Net;
|
|||
|
|
|||
|
namespace Supercell.GUT.Server.Network;
|
|||
|
public interface IProtocolEntity : IDisposable
|
|||
|
{
|
|||
|
EndPoint RemoteEndPoint { get; }
|
|||
|
|
|||
|
ValueTask<int> ReceiveAsync(Memory<byte> buffer, CancellationToken cancellationToken);
|
|||
|
ValueTask<int> SendAsync(Memory<byte> buffer, CancellationToken cancellationToken);
|
|||
|
}
|