Unit 'HTTPRoute' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

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

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.


Documentation generated on: Jan 27 2026