using System;
using System.Collections.Generic;
using MediaBrowser.Model.Services;
namespace MediaBrowser.Controller.Net
{
///
/// Interface IHttpServer
///
public interface IHttpServer : IDisposable
{
///
/// Gets the URL prefix.
///
/// The URL prefix.
string[] UrlPrefixes { get; }
///
/// Starts the specified server name.
///
/// The URL prefixes.
void StartServer(string[] urlPrefixes);
///
/// Stops this instance.
///
void Stop();
///
/// Occurs when [web socket connected].
///
event EventHandler WebSocketConnected;
///
/// Occurs when [web socket connecting].
///
event EventHandler WebSocketConnecting;
///
/// Inits this instance.
///
void Init(IEnumerable services);
///
/// If set, all requests will respond with this message
///
string GlobalResponse { get; set; }
}
}