|
Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
|
#include <string>#include <string_view>#include <memory>#include <orbit/http/HttpRequest.hpp>#include <orbit/http/ResponseWriter.hpp>#include <functional>

Go to the source code of this file.
Classes | |
| class | middleware::Csrf |
| Cross-Site Request Forgery (CSRF) protection middleware. More... | |
Namespaces | |
| namespace | middleware |
Functions | |
| auto | middleware::csrf_protection (const std::string &cookie_name="csrf_token", const std::string &header_name="X-CSRF-Token") |
| Helper to create a CSRF protection middleware handler. | |