Maurice Grönwoldt
5bb68a7d02
We have no make install support... so we don't need to have everything as a single-header and lib file.
22 lines
418 B
C++
22 lines
418 B
C++
#pragma once
|
|
|
|
#include "EPollManager.h"
|
|
#include "SocketManager.h"
|
|
#include "Types.h"
|
|
|
|
#include <string>
|
|
|
|
namespace VWeb {
|
|
struct ServerConfig {
|
|
int Port{9020};
|
|
int MaxBufferSize{-1};
|
|
int BufferSize{16384};
|
|
int WorkerThreads{-1};
|
|
int MaxEvents{5000};
|
|
bool AllowSharedLibs{true};
|
|
Ref<EPollManager> EPoll{nullptr};
|
|
Ref<SocketManager> Socket{nullptr};
|
|
std::string ErrorDir;
|
|
std::string MimeFiles;
|
|
};
|
|
} |