Skip to content

THTTPRouteRequestEvent

Event type for HTTP route requests

Declaration

Source position: httproute.pp line 161

type
  THTTPRouteRequestEvent = procedure(Sender: TObject; ARequest: TRequest; 
                                   AResponse: TResponse) of object;

Arguments

Name Description
Sender Object that triggered the event
ARequest HTTP request to handle
AResponse HTTP response to generate

Description

THTTPRouteRequestEvent defines an event type for handling HTTP route requests with sender context. It provides access to the sender object along with request and response objects.