TCORSSupport.HandleRequest function
Handles CORS request processing
Declaration
function HandleRequest(aRequest: TRequest; aResponse: TResponse;
aOptions: THandleCORSOptions=[hcDetect]): Boolean
; virtualArguments
aRequest | HTTP request to handle for CORS |
aResponse | HTTP response to populate with CORS headers |
aOptions | CORS handling options to apply |
Function result
True if CORS request was handled,
False otherwiseDescription
HandleRequest processes CORS headers and validation for the HTTP request.
It returns the appropriate CORS handling result based on the request and configuration.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
