aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-11 13:58:36 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-11 13:58:36 -0500
commitf8b8de13b752c49360bbe10502cc067be89937ae (patch)
tree220390676092d57d4cc4364807410af4825baf14
parentb1af9841b6dc14031d10b25372726b3db5c411f7 (diff)
update HttpListenerHost
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index d7897f165..64f498b12 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -64,7 +64,7 @@ namespace Emby.Server.Implementations.HttpServer
IServerConfigurationManager config,
string serviceName,
string defaultRedirectPath, INetworkManager networkManager, IMemoryStreamFactory memoryStreamProvider, ITextEncoding textEncoding, ISocketFactory socketFactory, ICryptoProvider cryptoProvider, IJsonSerializer jsonSerializer, IXmlSerializer xmlSerializer, IEnvironmentInfo environment, ICertificate certificate, IStreamFactory streamFactory, Func<Type, Func<string, object>> funcParseFn)
- : base(serviceName, new Assembly[] { })
+ : base(serviceName)
{
_appHost = applicationHost;
DefaultRedirectPath = defaultRedirectPath;
@@ -134,11 +134,11 @@ namespace Emby.Server.Implementations.HttpServer
return _appHost.CreateInstance(type);
}
- protected override ServiceController CreateServiceController(params Assembly[] assembliesWithServices)
+ protected override ServiceController CreateServiceController()
{
var types = _restServices.Select(r => r.GetType()).ToArray();
- return new ServiceController(this, () => types);
+ return new ServiceController(() => types);
}
public override ServiceStackHost Start(string listeningAtUrlBase)