Skip to content

Commit

Permalink
commit 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
CypherPotato committed Jan 9, 2024
1 parent 46068a1 commit 835612b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 12 additions & 1 deletion src/Http/Hosting/HttpServerHostContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ internal HttpServerHostContext(HttpServer httpServer)
/// public void Start(bool verbose = true, bool preventHault = true)
/// </definition>
/// <type>
/// Property
/// Method
/// </type>
public void Start(bool verbose = true, bool preventHault = true)
{
Expand All @@ -134,6 +134,17 @@ public void Start(bool verbose = true, bool preventHault = true)
Thread.Sleep(-1);
}

/// <summary>
/// Asynchronously starts the Http server.
/// </summary>
/// <param name="preventHault">Optional. Specifies if the application should pause the main application loop.</param>
/// <param name="verbose">Optional. Specifies if the application should write the listening prefix welcome message.</param>
/// <definition>
/// public async Task StartAsync(bool verbose = true, bool preventHault = true)
/// </definition>
/// <type>
/// Method
/// </type>
public async Task StartAsync(bool verbose = true, bool preventHault = true)
{
await Task.Run(() => Start(verbose, preventHault));
Expand Down
1 change: 1 addition & 0 deletions src/Routing/IRequestHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public enum RequestHandlerExecutionMode
/// <summary>
/// Indicates that the handler must be executed before the router calls the route action and before the request content is available.
/// </summary>
[Obsolete("This field is deprecated and will be removed in newer versions of Sisk. Use BeforeResponse instead.")]
BeforeContents,

/// <summary>
Expand Down
11 changes: 2 additions & 9 deletions src/Sisk.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<DebugType>embedded</DebugType>

<OutputType>Library</OutputType>
<ImplicitUsings>disable</ImplicitUsings>
Expand All @@ -29,7 +30,7 @@

<AssemblyVersion>0.16.0.0</AssemblyVersion>
<FileVersion>0.16.0.0</FileVersion>
<Version>0.16-rc-4</Version>
<Version>0.16</Version>

<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<SignAssembly>False</SignAssembly>
Expand All @@ -43,14 +44,6 @@
<PathMap>$(MSBuildProjectDirectory)\$(IntermediateOutputPath)=.</PathMap>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup>
<None Include="..\.nuget\README.html" Link="README.html" />
</ItemGroup>
Expand Down

0 comments on commit 835612b

Please sign in to comment.