Change Variable names and all to snake case

This commit is contained in:
Pablu23
2024-11-13 16:01:17 +01:00
parent 1797b3c0ef
commit a3a5280f17
10 changed files with 91 additions and 93 deletions

View File

@@ -25,18 +25,18 @@ private:
std::condition_variable m_cond;
std::vector<std::thread> m_threads;
std::queue<int> m_clients;
bool m_shouldTerminate = false;
void StartThreadLoop();
void ThreadLoop();
void QueueClient(int client);
void StopThreadLoop();
bool m_should_terminate = false;
void start_thread_loop();
void thread_loop();
void queue_client(int client);
void stop_thread_loop();
public:
Router(int port);
void Handle(std::string pathPattern,
void handle(std::string path_pattern,
std::function<void(Request, Response *)> func);
int Start();
int Stop();
int start();
int stop();
};
} // namespace http