mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
27 lines
649 B
C#
27 lines
649 B
C#
|
using System;
|
|||
|
|
|||
|
namespace MediaBrowser.Common.Net
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Interface IWebSocketServer
|
|||
|
/// </summary>
|
|||
|
public interface IWebSocketServer : IDisposable
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Starts the specified port number.
|
|||
|
/// </summary>
|
|||
|
/// <param name="portNumber">The port number.</param>
|
|||
|
void Start(int portNumber);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Stops this instance.
|
|||
|
/// </summary>
|
|||
|
void Stop();
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Occurs when [web socket connected].
|
|||
|
/// </summary>
|
|||
|
event EventHandler<WebSocketConnectEventArgs> WebSocketConnected;
|
|||
|
}
|
|||
|
}
|