mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			491 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			491 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace MediaBrowser.Controller.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 ProcessMessageAsync(WebSocketMessageInfo message);
 | 
						|
    }
 | 
						|
}
 |