-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CypherPotato
committed
Feb 14, 2023
1 parent
4fb661e
commit 4b3cb8b
Showing
13 changed files
with
233 additions
and
925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Reflection.Metadata; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
[assembly: MetadataUpdateHandler(typeof(Sisk.Provider.ServiceReloadManager))] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Sisk.Core.Http | ||
{ | ||
/// <summary> | ||
/// Provides advanced fields for Sisk server behavior. | ||
/// </summary> | ||
public class HttpServerFlags | ||
{ | ||
/// <summary> | ||
/// Determines if the HTTP server should drop requests which has content body in GET, OPTIONS, HEAD and TRACE methods. | ||
/// </summary> | ||
public bool ThrowContentOnNonSemanticMethods = true; | ||
|
||
/// <summary> | ||
/// Determines the HTTP header name of the request ID. | ||
/// </summary> | ||
public string HeaderNameRequestId = "X-Request-Id"; | ||
|
||
/// <summary> | ||
/// Determines if the HTTP server automatically should send CORS headers if set. | ||
/// </summary> | ||
public bool SendCorsHeaders = true; | ||
|
||
/// <summary> | ||
/// Determines if the HTTP server should automatically send HTTP headers of an pre-processed GET response if the request is using HEAD method. | ||
/// </summary> | ||
public bool TreatHeadAsGetMethod = true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.