diff --git a/src/Http/Hosting/HttpServerHostContext.cs b/src/Http/Hosting/HttpServerHostContext.cs index 69f3dad..10793c1 100644 --- a/src/Http/Hosting/HttpServerHostContext.cs +++ b/src/Http/Hosting/HttpServerHostContext.cs @@ -122,7 +122,7 @@ internal HttpServerHostContext(HttpServer httpServer) /// public void Start(bool verbose = true, bool preventHault = true) /// /// - /// Property + /// Method /// public void Start(bool verbose = true, bool preventHault = true) { @@ -134,6 +134,17 @@ public void Start(bool verbose = true, bool preventHault = true) Thread.Sleep(-1); } + /// + /// Asynchronously starts the Http server. + /// + /// Optional. Specifies if the application should pause the main application loop. + /// Optional. Specifies if the application should write the listening prefix welcome message. + /// + /// public async Task StartAsync(bool verbose = true, bool preventHault = true) + /// + /// + /// Method + /// public async Task StartAsync(bool verbose = true, bool preventHault = true) { await Task.Run(() => Start(verbose, preventHault)); diff --git a/src/Routing/IRequestHandler.cs b/src/Routing/IRequestHandler.cs index 578edab..f7f4a4c 100644 --- a/src/Routing/IRequestHandler.cs +++ b/src/Routing/IRequestHandler.cs @@ -63,6 +63,7 @@ public enum RequestHandlerExecutionMode /// /// Indicates that the handler must be executed before the router calls the route action and before the request content is available. /// + [Obsolete("This field is deprecated and will be removed in newer versions of Sisk. Use BeforeResponse instead.")] BeforeContents, /// diff --git a/src/Sisk.Core.csproj b/src/Sisk.Core.csproj index a56d656..30cdb52 100644 --- a/src/Sisk.Core.csproj +++ b/src/Sisk.Core.csproj @@ -7,6 +7,7 @@ true symbols.nupkg True + embedded Library disable @@ -29,7 +30,7 @@ 0.16.0.0 0.16.0.0 - 0.16-rc-4 + 0.16 LICENSE.txt False @@ -43,14 +44,6 @@ $(MSBuildProjectDirectory)\$(IntermediateOutputPath)=. - - embedded - - - - embedded - -