TXDataBaseModule.ProcessRequest Method
Processes a request addressed to this module.
Remarks
It is called by the Sparkle dispatcher. When UserName and Password are both set, the request is authenticated first and answered with status code 401 when the credentials do not match. Otherwise a request handler is created to process the request and destroyed when it finishes.
Syntax
Unit: XData.Module.Base
procedure TXDataBaseModule.ProcessRequest(const C: THttpServerContext); override;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | C | THttpServerContext | The Sparkle context holding the request and the response. |