Skip to content

TRequestInterceptEvent

Event type for request interception

Declaration

Source position: httproute.pp line 165

type
  TRequestInterceptEvent = procedure(ARequest: TRequest; 
                                   AResponse: TResponse; 
                                   var aContinue: Boolean) of object;

Arguments

Name Description
ARequest HTTP request being intercepted
AResponse HTTP response being processed
aContinue Controls whether processing should continue

Description

TRequestInterceptEvent defines an event type for intercepting HTTP requests before or after processing. It allows modifying requests/responses or controlling whether processing should continue.