roar
|
#include <boost/beast/http/field.hpp>
#include <boost/beast/http/verb.hpp>
#include <string>
#include <vector>
#include <cctype>
#include <optional>
Go to the source code of this file.
Classes | |
struct | Roar::CorsSettings |
Settings object to control CORS requests. More... | |
Namespaces | |
namespace | Roar |
Functions | |
CorsSettings | Roar::makePermissiveCorsSettings (std::string method) |
Reflects all requested headers and origin or sets the Kleene star. Is as permissive as possible. Least secure option. | |
CorsSettings | Roar::makePermissiveCorsSettings (boost::beast::http::verb method) |
Same as the makePermissiveCorsSettings(std::string method) overload. | |