aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/launch.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/testing/launch.h')
-rw-r--r--zenserver/testing/launch.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/zenserver/testing/launch.h b/zenserver/testing/launch.h
new file mode 100644
index 000000000..5dd946eda
--- /dev/null
+++ b/zenserver/testing/launch.h
@@ -0,0 +1,31 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#pragma once
+
+#include <zencore/httpserver.h>
+
+#include <spdlog/spdlog.h>
+
+namespace zen {
+
+class CasStore;
+
+/**
+ * Process launcher for test executables
+ */
+class HttpLaunchService : public HttpService
+{
+public:
+ HttpLaunchService(CasStore& Store);
+ ~HttpLaunchService();
+
+ virtual const char* BaseUri() const override;
+ virtual void HandleRequest(HttpServerRequest& Request) override;
+
+private:
+ spdlog::logger m_Log;
+ HttpRequestRouter m_Router;
+ CasStore& m_CasStore;
+};
+
+} // namespace zen