Sign in Join
FPDoc Onlineexperiment

TRouteCallBack procedure type

In unit HTTPRoute

Procedure type for route callback handlers

Declaration

pascal
TRouteCallBack = procedure(ARequest: TRequest; AResponse: TResponse)

Arguments

ARequest

HTTP request to handle

AResponse

HTTP response to generate

Description

TRouteCallBack defines a procedure type for handling HTTP requests in callback-based routes. It receives request and response objects for processing.

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