Skip to content

TCORSSupport.ResolvedCORSAllowedOrigins

Resolves allowed origins for CORS requests

Declaration

Source position: httpdefs.pp line 781

public 
function TCORSSupport.ResolvedCORSAllowedOrigins(aRequest: TRequest)
                                                 : string;  virtual;

Description

ResolvedCORSAllowedOrigins resolves the list of allowed origins for the current request. It processes the configured origins and returns the applicable ones based on the request context.