using System.Net;

namespace SharpChat.Connections;

public interface Connection {
    IPEndPoint RemoteEndPoint { get; }
    void Close(ConnectionCloseReason reason = ConnectionCloseReason.Unexpected);
}