2using System.Threading.Tasks;
16 internal const string Id =
"WebServer";
30 [Page(7,
"Configuration")]
31 [Header(14,
"Client Certificates (mTLS):")]
32 [ToolTip(15,
"How to allow clients authenticate themselves using X.509 certificates.")]
34 [Option(
ClientCertificates.NotUsed, 16,
"Client certificates are not used, and will not be requested.")]
35 [Option(
ClientCertificates.Optional, 17,
"Client certificates are requested, but not required.")]
36 [Option(
ClientCertificates.Required, 18,
"Client certificates are requested, and required.")]
42 [Page(7,
"Configuration")]
43 [Header(19,
"Trust client certificates.")]
44 [ToolTip(20,
"If client certificates should be trusted, even if they don't validate.")]
51 [Header(119,
"Enabled")]
52 [ToolTip(120,
"If HTTP/2 is enabled or not.")]
59 [Header(121,
"Initial Stream Window Size:")]
60 [ToolTip(122,
"Initial Stream Window Size, in bytes.")]
67 [Header(137,
"Initial Connection Window Size:")]
68 [ToolTip(138,
"Initial Connection Window Size, in bytes.")]
75 [Header(123,
"Maximum Frame Size:")]
76 [ToolTip(124,
"Maximum Frame Size, in bytes.")]
83 [Header(125,
"Maximum concurrent streams:")]
84 [ToolTip(126,
"Maximum number of concurrent streams.")]
91 [Header(127,
"Dynamic Header Table Size:")]
92 [ToolTip(128,
"Dynamic Header Table Size, in bytes.")]
99 [Header(129,
"No RFC 7540 priorities.")]
100 [ToolTip(130,
"If stream priorities, as defined in HTTP/2 RFC 7540, should not be used, in favour of priorities, as defined in RFC 9218 (used in HTTP/3).")]
106 [Page(118,
"HTTP/2")]
107 [Header(131,
"Connection profiling.")]
108 [ToolTip(132,
"Enables profiling of HTTP/2 performance over connections.")]
114 [Page(118,
"HTTP/2")]
115 [Header(142,
"Separate sniffers by remote endpoint.")]
116 [ToolTip(143,
"Separates sniffers into different subfolders, depending on the remote endpoint.")]
137 return Task.FromResult(
157 LinkedList<Parameter> Parameters =
new LinkedList<Parameter>();
173 return Task.FromResult(
false);
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
async Task< Namespace > GetNamespaceAsync(string Name)
Gets the namespace object, given its name, if available.
Contains information about a namespace in a language.
Task< LanguageString > GetStringAsync(int Id)
Gets the string object, given its ID, if available.
Abstract base class for gateway configuration nodes.
GatewayConfigSource Source
Source hosting the node.
Configures a Content-Encoding in the web server.
Defines a default page for a host.
Data source mirroring the Gateway.config file.
mTLS-configuration for a specific port number.
Defines a proxy domain to act as a reverse proxy for a specific domain name.
Defines a proxy resource to act as a reverse proxy.
Defines a vanity resource.
Settings for the Web Server.
bool Http2Profiling
Maximum Frame Size, in bytes.
int Http2InitialConnectionWindowSize
Initial Connection Window Size, in bytes.
int Http2InitialStreamWindowSize
Initial Window Size, in bytes.
WebServer(GatewayConfigSource Source)
Settings for the Web Server.
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node ...
int Http2HeaderTableSize
Dynamic Header Table Size, in bytes.
override string NodeId
ID of node.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
int Http2MaxConcurrentStreams
Maximum number of concurrent streams.
override async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
int Http2MaxFrameSize
Maximum Frame Size, in bytes.
override Task< bool > CanDestroyAsync(RequestOrigin Caller)
If the node can be destroyed to by the caller.
bool TrustClientCertificates
If certificates are to be trusted, or if they are required to be valid.
bool Http2Enabled
If HTTP/2 is enabled or not.
bool HttpSniffersPerEndpoint
Separate sniffers by remote endpoint.
bool Http2NoRfc7540Priorities
Maximum Frame Size, in bytes.
Boolean-valued parameter.
Tokens available in request.
Interface for nodes that are published through the concentrator interface.
ClientCertificates
Client Certificate Options