using System;
namespace MediaBrowser.Common.Net
{
///
/// Interface IWebSocketServer
///
public interface IWebSocketServer : IDisposable
{
///
/// Starts the specified port number.
///
/// The port number.
void Start(int portNumber);
///
/// Stops this instance.
///
void Stop();
///
/// Occurs when [web socket connected].
///
event EventHandler WebSocketConnected;
///
/// Gets the port.
///
/// The port.
int Port { get; }
}
}