1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-14 16:25:41 +00:00
VPLink/VPLink.Common/Services/IRelayTarget.cs

17 lines
476 B
C#

using VPLink.Common.Data;
namespace VPLink.Common.Services;
/// <summary>
/// Represents an object that can be used as a relay target.
/// </summary>
public interface IRelayTarget
{
/// <summary>
/// Sends a message to the relay target.
/// </summary>
/// <param name="message">The message to send.</param>
/// <returns>A <see cref="Task" /> representing the asynchronous operation.</returns>
Task SendMessageAsync(RelayedMessage message);
}