using MediaBrowser.Common.Kernel; using MediaBrowser.Common.Net; using MediaBrowser.Model.Logging; using MediaBrowser.Model.Serialization; namespace MediaBrowser.Networking.Web { /// /// Class ServerFactory /// public static class ServerFactory { /// /// Creates the server. /// /// The application host. /// The kernel. /// The protobuf serializer. /// The logger. /// Name of the server. /// The default redirectpath. /// IHttpServer. public static IHttpServer CreateServer(IApplicationHost applicationHost, IKernel kernel, IProtobufSerializer protobufSerializer, ILogger logger, string serverName, string defaultRedirectpath) { return new HttpServer(applicationHost, kernel, protobufSerializer, logger, serverName, defaultRedirectpath); } } }