TCustomHttpSysServer.AddModule Method
Registers an HTTP server module with the server, so its requests are dispatched to it.
Remarks
This is a shortcut for adding the module to the server Dispatcher. Modules must be added before the server is started.
Syntax
Unit: Sparkle.HttpSys.Server
procedure TCustomHttpSysServer.AddModule(AModule: THttpServerModule); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AModule | THttpServerModule | The module to add. The server does not take ownership of it. |