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

TWebHandler.DoHandleRequest

Handles a complete HTTP request with error handling and cleanup

Declaration

Source position: custweb.pp line 90

public procedure TWebHandler.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

HandleRequest

  

Routes and processes an HTTP request to the appropriate handler

EndRequest


Documentation generated on: Jan 27 2026