TWebHandler.Run¶
Main request processing loop for the web handler
Declaration¶
Source position: custweb.pp line 92
public
procedure TWebHandler.Run; virtual;
Description¶
Starts the main request processing loop that waits for incoming HTTP requests and handles them. Continues processing until the handler is terminated, calling idle events between requests when available.
Errors¶
May raise exceptions during request waiting or processing.
See also¶
| Name | Description |
|---|---|
| DoHandleRequest | Handles a complete HTTP request with error handling and cleanup |
| OnIdle | Event triggered when the handler is idle between requests |