using MediaBrowser.Common;
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Logging;
namespace MediaBrowser.Server.Implementations.HttpServer
{
///
/// Class ServerFactory
///
public static class ServerFactory
{
///
/// Creates the server.
///
/// The application host.
/// The log manager.
/// Name of the server.
/// The default redirectpath.
/// IHttpServer.
public static IHttpServer CreateServer(IApplicationHost applicationHost, ILogManager logManager, string serverName, string defaultRedirectpath)
{
return new HttpServer(applicationHost, logManager, serverName, defaultRedirectpath);
}
}
}