Ed Tanous | 8041f31 | 2017-04-03 09:47:01 -0700 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | #include <crow/http_request.h> | ||||
4 | #include <crow/http_response.h> | ||||
5 | |||||
6 | namespace crow { | ||||
7 | |||||
8 | struct SecurityHeadersMiddleware { | ||||
9 | struct context {}; | ||||
10 | |||||
11 | void before_handle(crow::request& req, response& res, context& ctx); | ||||
12 | |||||
13 | void after_handle(request& req, response& res, context& ctx); | ||||
14 | }; | ||||
15 | } |