diff options
Diffstat (limited to 'zenhttp/asiohttpserver.h')
| -rw-r--r-- | zenhttp/asiohttpserver.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/zenhttp/asiohttpserver.h b/zenhttp/asiohttpserver.h new file mode 100644 index 000000000..157d724f0 --- /dev/null +++ b/zenhttp/asiohttpserver.h @@ -0,0 +1,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 |