Construct an instance of HandleCorsMiddleware.
The configuration blueprint used for managing CORS settings.
Handle CORS by modifying the response headers based on the configuration.
The incoming HTTP event.
The next middleware function to continue processing the event.
The outgoing HTTP response with CORS headers.
Kernel Middleware for adding Cross-Origin Resource Sharing (CORS) headers to HTTP responses. It allows controlling how clients from different origins can access the server's resources.
Template: TEvent
Represents the type of the incoming HTTP event.
Template: UResponse
Represents the type of the outgoing HTTP response.
Author
Mr. Stone evensstone@gmail.com