Sign in Join
FPDoc Onlineexperiment

TRouteCallBackEx procedure type

In unit HTTPRoute

Extended callback procedure type with user data

Declaration

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

Arguments

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.

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