summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-03-02 16:48:24 -0800
committerEd Tanous <ed.tanous@intel.com>2017-03-02 16:48:24 -0800
commit904063f6e5eccdd15d7a9d2a21200f99abc679ae (patch)
tree1ef33196bf604ac511f9a2596b449666dd0ab127 /include
parentf927347406ef6ea49edf710897b213ccd8c8e284 (diff)
downloadbmcweb-904063f6e5eccdd15d7a9d2a21200f99abc679ae.tar.gz
bmcweb-904063f6e5eccdd15d7a9d2a21200f99abc679ae.zip
incremental
Diffstat (limited to 'include')
-rw-r--r--include/webassets.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp
new file mode 100644
index 0000000..68a6c4a
--- /dev/null
+++ b/include/webassets.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <string>
+
+#include <crow/http_request.h>
+#include <crow/http_response.h>
+#include <crow/app.h>
+
+//TODO this is wrong. file handler shouldn't care about middlewares
+#include "token_authorization_middleware.hpp"
+#include <crow/routing.h>
+
+namespace crow
+{
+namespace webassets
+{
+ void request_routes(crow::App<crow::TokenAuthorizationMiddleware>& app);
+}
+} \ No newline at end of file
OpenPOWER on IntegriCloud