Sign in Join
FPDoc Onlineexperiment

TWebHandler.DoHandleRequest procedure

Member of TWebHandlerpublicIn unit CustWeb

Handles a complete HTTP request with error handling and cleanup

Declaration

pascal
procedure DoHandleRequest(ARequest: TRequest; AResponse: TResponse)

Arguments

ARequest

The HTTP request to process

AResponse

The HTTP response to send

Description

Processes a complete HTTP request including error handling, response sending, and proper cleanup of request and response objects. Ensures content is sent even if not explicitly sent by the handler, and logs any content sending errors.

Errors

Handles and logs content sending errors internally.

See also

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