mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			941 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			941 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using MediaBrowser.Common;
 | 
						|
using MediaBrowser.Common.Net;
 | 
						|
using MediaBrowser.Model.Logging;
 | 
						|
 | 
						|
namespace MediaBrowser.Server.Implementations.HttpServer
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Class ServerFactory
 | 
						|
    /// </summary>
 | 
						|
    public static class ServerFactory
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// Creates the server.
 | 
						|
        /// </summary>
 | 
						|
        /// <param name="applicationHost">The application host.</param>
 | 
						|
        /// <param name="logManager">The log manager.</param>
 | 
						|
        /// <param name="serverName">Name of the server.</param>
 | 
						|
        /// <param name="defaultRedirectpath">The default redirectpath.</param>
 | 
						|
        /// <returns>IHttpServer.</returns>
 | 
						|
        public static IHttpServer CreateServer(IApplicationHost applicationHost, ILogManager logManager, string serverName, string defaultRedirectpath)
 | 
						|
        {
 | 
						|
            return new HttpServer(applicationHost, logManager, serverName, defaultRedirectpath);
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |