diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-05-02 01:09:35 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-05-02 01:09:35 +0200 |
| commit | 04f826e50c23a8a996fd317124260f67b7ff3f9a (patch) | |
| tree | 08ddbaca2aab3418ff3359adccd7970a0f3799e0 /Emby.Server.Implementations/HttpServer/IHttpListener.cs | |
| parent | 15634a1913e8c1ad4e921364f30055794644d0bd (diff) | |
Fix merge errors
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/IHttpListener.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/IHttpListener.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Emby.Server.Implementations/HttpServer/IHttpListener.cs b/Emby.Server.Implementations/HttpServer/IHttpListener.cs deleted file mode 100644 index 501593725..000000000 --- a/Emby.Server.Implementations/HttpServer/IHttpListener.cs +++ /dev/null @@ -1,39 +0,0 @@ -#pragma warning disable CS1591 - -using System; -using System.Threading; -using System.Threading.Tasks; -using Emby.Server.Implementations.Net; -using MediaBrowser.Model.Services; -using Microsoft.AspNetCore.Http; - -namespace Emby.Server.Implementations.HttpServer -{ - public interface IHttpListener : IDisposable - { - /// <summary> - /// Gets or sets the error handler. - /// </summary> - /// <value>The error handler.</value> - Func<Exception, IRequest, bool, bool, Task> ErrorHandler { get; set; } - - /// <summary> - /// Gets or sets the request handler. - /// </summary> - /// <value>The request handler.</value> - Func<IHttpRequest, string, string, string, CancellationToken, Task> RequestHandler { get; set; } - - /// <summary> - /// Gets or sets the web socket handler. - /// </summary> - /// <value>The web socket handler.</value> - Action<WebSocketConnectEventArgs> WebSocketConnected { get; set; } - - /// <summary> - /// Stops this instance. - /// </summary> - Task Stop(); - - Task ProcessWebSocketRequest(HttpContext ctx); - } -} |
