diff options
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 22 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Net/IHttpServer.cs | 4 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Net/IServerManager.cs | 4 |
3 files changed, 28 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 76eb9fceb..6bee5e58a 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -37,6 +37,28 @@ namespace MediaBrowser.Controller int HttpServerPort { get; } /// <summary> + /// Gets the HTTPS server port. + /// </summary> + /// <value>The HTTPS server port.</value> + int HttpsServerPort { get; } + + /// <summary> + /// Gets the value indiciating if an https port should be hosted. + /// </summary> + /// <value> + /// The value indiciating if an https port should be hosted. + /// </value> + bool UseHttps { get; } + + /// <summary> + /// Gets the value pointing to the file system where the ssl certiifcate is located. + /// </summary> + /// <value> + /// The value pointing to the file system where the ssl certiifcate is located. + /// </value> + string CertificatePath { get; } + + /// <summary> /// Gets a value indicating whether this instance has update available. /// </summary> /// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value> diff --git a/MediaBrowser.Controller/Net/IHttpServer.cs b/MediaBrowser.Controller/Net/IHttpServer.cs index 5b179d479..d56bee009 100644 --- a/MediaBrowser.Controller/Net/IHttpServer.cs +++ b/MediaBrowser.Controller/Net/IHttpServer.cs @@ -19,7 +19,9 @@ namespace MediaBrowser.Controller.Net /// Starts the specified server name. /// </summary> /// <param name="urlPrefixes">The URL prefixes.</param> - void StartServer(IEnumerable<string> urlPrefixes); + /// <param name="certificatePath">If an https prefix is specified, + /// the ssl certificate localtion on the file system.</param> + void StartServer(IEnumerable<string> urlPrefixes, string certificatePath); /// <summary> /// Gets the local end points. diff --git a/MediaBrowser.Controller/Net/IServerManager.cs b/MediaBrowser.Controller/Net/IServerManager.cs index dff086347..d90a0f8ed 100644 --- a/MediaBrowser.Controller/Net/IServerManager.cs +++ b/MediaBrowser.Controller/Net/IServerManager.cs @@ -15,7 +15,9 @@ namespace MediaBrowser.Controller.Net /// Starts this instance. /// </summary> /// <param name="urlPrefixes">The URL prefixes.</param> - void Start(IEnumerable<string> urlPrefixes); + /// <param name="certificatePath">If an https prefix is specified, + /// the ssl certificate localtion on the file system.</param> + void Start(IEnumerable<string> urlPrefixes, string certificatePath); /// <summary> /// Sends a message to all clients currently connected via a web socket |
