TRouteEvent procedure type
Event type for route handlers
Declaration
TRouteEvent = procedure(ARequest: TRequest; AResponse: TResponse)
of objectArguments
ARequest | HTTP request to handle |
AResponse | HTTP response to generate |
Description
TRouteEvent defines an object method type for handling HTTP requests in event-based routes.
It provides object-oriented request handling with sender context.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
