jellyfin/MediaBrowser.Controller/Net/IWebSocketListener.cs

18 lines
489 B
C#
Raw Normal View History

2016-03-27 14:11:27 -07:00
using System.Threading.Tasks;
2013-02-22 08:16:48 -07:00
2014-12-26 12:34:39 -07:00
namespace MediaBrowser.Controller.Net
2013-02-22 08:16:48 -07: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);
}
}