mirror of
https://github.com/oliverbooth/VPLink
synced 2024-11-14 04:35:42 +00:00
17 lines
476 B
C#
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);
|
|
}
|