TSparkleHttpSysDispatcher Class
Server dispatcher component that serves the connected Sparkle server components using the Windows HTTP.sys server.
Remarks
TSparkleHttpSysDispatcher wraps a THttpSysServer, which is built on top of the operating system HTTP Server API (HTTP.sys). Connect server components to it through their Dispatcher property and set Active to True to start serving requests. Available for the Windows platform only, and it is the recommended dispatcher for high-load production servers on Windows. Note that HTTP.sys requires the URLs the server listens at to be reserved for the account running the application.
Syntax
Unit: Sparkle.Comp.HttpSysDispatcher
TSparkleHttpSysDispatcher = class(TSparkleDispatcher);
Properties
| Name | Description |
|---|---|
| Active | Gets or sets whether the dispatcher is active. Setting it to True starts the underlying HTTP.sys server; setting it to False stops it. |
| HttpSys | The underlying HTTP.sys server. |
| KeepHostInUrl​Prefixes | Indicates whether the host name of each module base URL is kept when building the HTTP.sys URL prefixes. |