blob: b15b1b123c2eb7b6e40b1b84fd61711c0c998ad5 (
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
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include <zencore/thread.h>
#include <zenhttp/httpserver.h>
namespace zen {
/**
* @brief Null implementation of "http" server. Does nothing
*/
class HttpNullServer : public HttpServer
{
public:
HttpNullServer();
~HttpNullServer();
virtual void RegisterService(HttpService& Service) override;
virtual void Initialize(int BasePort) override;
virtual void Run(bool TestMode) override;
virtual void RequestExit() override;
private:
Event m_ShutdownEvent;
};
} // namespace zen
|