jellyfin/MediaBrowser.Common/Net/IWebSocketListener.cs

18 lines
485 B
C#
Raw Normal View History

2013-03-07 05:34:00 +00:00
using System.Threading.Tasks;
2013-02-22 15:16:48 +00:00
2013-03-07 05:34:00 +00:00
namespace MediaBrowser.Common.Net
2013-02-22 15:16:48 +00:00
{
/// <summary>
///This is an interface for listening to messages coming through a web socket connection
/// </summary>
public interface IWebSocketListener
{
/// <summary>
/// Processes the message.
/// </summary>
/// <param name="message">The message.</param>
/// <returns>Task.</returns>
Task ProcessMessage(WebSocketMessageInfo message);
}
}