aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/launch.h
blob: 5dd946eda38449e87533a7e525f0c62dca1498b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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