|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
#include <orbit/legacy_namespaces.hpp>#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 | orbit::middleware::Csrf |
| Cross-Site Request Forgery (CSRF) protection middleware. More... | |
Namespaces | |
| namespace | orbit |
| namespace | orbit::middleware |
Functions | |
| auto | orbit::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. | |