Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
Cors.hpp File Reference
#include <orbit/routing/Router.hpp>
#include <string>
#include <vector>
Include dependency graph for Cors.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  middleware::CorsOptions
 Options for configuring CORS (Cross-Origin Resource Sharing). More...
 

Namespaces

namespace  middleware
 

Functions

routing::Middleware middleware::cors (CorsOptions options=CorsOptions{})
 Returns a middleware that handles CORS.