mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
18 lines
519 B
C#
18 lines
519 B
C#
using MediaBrowser.Common.Net;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Common.Kernel
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|