You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
485 B
18 lines
485 B
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Common.Net
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|