aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/transports/dlltransport.h
blob: c49f888daadb6598aca39e4dc5d2112511e49465 (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
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include <zenhttp/httpplugin.h>

#if ZEN_WITH_PLUGINS

namespace zen {

/** Transport plugin which supports dynamic loading of external transport
 * provider modules
 */

class DllTransportPlugin : public TransportPlugin
{
public:
	virtual bool LoadDll(std::string_view Name)														 = 0;
	virtual void ConfigureDll(std::string_view Name, const char* OptionTag, const char* OptionValue) = 0;
};

DllTransportPlugin* CreateDllTransportPlugin();

}  // namespace zen

#endif