Router: Uses Tree and Use named Parameters
This commit is contained in:
parent
dee4f9ec68
commit
2bd34c2bb1
1 changed files with 138 additions and 121 deletions
|
|
@ -29,9 +29,6 @@ void Server::Start() {
|
|||
fprintf(stdout, "[VWeb] Running Server On: 0.0.0.0:%d\n",
|
||||
m_ServerConfig->Port);
|
||||
}
|
||||
void Server::RemoveRoute(const std::string &path) const {
|
||||
m_Router->DeleteRoute(path);
|
||||
}
|
||||
void Server::Execute() {
|
||||
constexpr size_t MAX_EVENTS = 5000;
|
||||
struct epoll_event events[MAX_EVENTS];
|
||||
|
|
|
|||
Loading…
Reference in a new issue