TAnonymousServerModule.Create Constructor
Creates a new TAnonymousServerModule bound to the given base URI, using the supplied procedure to handle requests.
Syntax
Unit: Sparkle.HttpServer.Module
constructor TAnonymousServerModule.Create(const ABaseUri: string; AProc: THttpServerProc);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | ABaseUri | string | The base URI the module processes requests for. |
| AProc | THttpServerProc | The procedure invoked to process each request addressed to the module. |