Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

AfterRequest Example

Example of the usage of afterRequest().

This example shows how to use the afterRequest() function of the QHttpServer to change the QHttpServerResponse object after it has been handled by the route() function. It demonstrates how HTTP headers can be added to the response.

Files:

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded