1using System.Collections.Generic;
2using System.Threading.Tasks;
24 this.Method =
string.Empty;
48 [Page(7,
"Configuration")]
49 [Header(6,
"Method:")]
50 [ToolTip(47,
"Content-Encoding method to configure.")]
57 [Page(7,
"Configuration")]
58 [Header(55,
"Dynamic content.")]
59 [ToolTip(65,
"If dynamically generated content can be compressed using this method.")]
65 [Page(7,
"Configuration")]
66 [Header(66,
"Static content.")]
67 [ToolTip(67,
"If static content can be compressed using this method.")]
99 LinkedList<Parameter> Parameters =
new LinkedList<Parameter>();
119 return base.UpdateAsync();
Static class that dynamically manages types and interfaces available in the runtime environment.
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.
virtual INode Parent
Parent Node, or null if a root node.
GatewayConfigSource Source
Source hosting the node.
Configures a Content-Encoding in the web server.
string Method
Content-Encoding method.
override Task UpdateAsync()
Updates the node (in persisted storage).
bool Static
If dynamically generated content can be compressed using this method.
bool Dynamic
If dynamically generated content can be compressed using this method.
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts th...
override async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
ContentEncoding()
Configures a Content-Encoding in the web server.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
override string NodeId
ID of node.
ContentEncoding(GatewayConfigSource Source, WebServer Parent, string Method, bool Dynamic, bool Static)
Configures a Content-Encoding in the web server.
Data source mirroring the Gateway.config file.
Settings for the Web Server.
Boolean-valued parameter.
Tokens available in request.
Interface for content encodings in HTTP transfers.
void ConfigureSupport(bool Dynamic, bool Static)
Configures support for the algorithm.
Interface for nodes that are published through the concentrator interface.