aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/asiohttpserver.h
blob: 157d724f047b217c5679b91df17531b0b4220c69 (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 <zencore/refcount.h>

namespace zen {

class HttpServer;

struct AsioHttpServerOptions
{
	uint32_t ThreadCount{16};
	uint32_t ReceiveBufferSize{256};
	uint32_t SendBufferSize{256};
};

Ref<HttpServer> CreateAsioHttpServer(const AsioHttpServerOptions& Options);

}  // namespace zen