Skip to content

TRouteCallBackEx

Extended callback procedure type with user data

Declaration

Source position: httproute.pp line 99

type
  TRouteCallBackEx = procedure(AData: Pointer; ARequest: TRequest; 
                             AResponse: TResponse);

Arguments

Name Description
AData User data passed to callback
ARequest HTTP request to handle
AResponse HTTP response to generate

Description

TRouteCallBackEx defines an extended callback procedure type that accepts additional user data. It provides a way to pass custom data to the callback handler.