15 lines
356 B
C#
15 lines
356 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace StatsdClient
|
|
{
|
|
/// <summary>
|
|
/// Contract for sending raw statds lines to the server
|
|
/// </summary>
|
|
public interface IOutputChannel
|
|
{
|
|
/// <summary>
|
|
/// Sends a line of stats data to the server asynchronously.
|
|
/// </summary>
|
|
Task SendAsync(string line);
|
|
}
|
|
} |