TTMSFNCWebPushServer.OnHTTPRequest Event
Occurs for each incoming HTTP request, allowing the request to be handled before the built-in endpoint routing runs.
API unit family: TMS.TMSFNCWebPushServer
Declaring type: TTMSFNCWebPushServer
Inherited from: TTMSFNCCustomWebPushServer
Syntax
OnHTTPRequest: TTMSFNCWebPushServerHTTPCommandEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The server that raised the event. |
AContext |
The connection context for the request. |
ARequestInfo |
The incoming request details. |
AResponseInfo |
The response object to populate. |
AHandled |
Set to True to suppress built-in endpoint handling. |