Sign in Join
FPDoc Onlineexperiment

THTTPRouteRequestEvent procedure type

In unit HTTPRoute

Event type for HTTP route requests

Declaration

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

Arguments

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.