using MediaBrowser.Common.Kernel;
using System.Net;
using System.Threading.Tasks;
namespace MediaBrowser.Common.Net.Handlers
{
///
/// Interface IHttpServerHandler
///
public interface IHttpServerHandler
{
///
/// Initializes the specified kernel.
///
/// The kernel.
void Initialize(IKernel kernel);
///
/// Handleses the request.
///
/// The request.
/// true if XXXX, false otherwise
bool HandlesRequest(HttpListenerRequest request);
///
/// Processes the request.
///
/// The CTX.
/// Task.
Task ProcessRequest(HttpListenerContext ctx);
}
}