aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpasio.h
blob: 3ec1141a7fefe96c49423330d6519ba41459a98a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include <zenhttp/httpserver.h>

namespace zen {

struct AsioConfig
{
	unsigned int ThreadCount	   = 0;
	bool		 ForceLoopback	   = false;
	bool		 IsDedicatedServer = false;
};

Ref<HttpServer> CreateHttpAsioServer(const AsioConfig& Config);

bool IsIPv6Capable();

}  // namespace zen