ImSQL
C++ 기반 SQL 자동화 및 라이선스 관리 엔진
Loading...
Searching...
No Matches
api_server.hpp
Go to the documentation of this file.
1
11#pragma once
12
13#ifndef API_SERVER_H
14#define API_SERVER_H
15
16#include <string>
17
24class ApiServer {
25public:
31 ApiServer(const std::string& host, int port) : m_host(host), m_port(port) {}
32
36 void init() { }
37
41 void start() { }
42
43private:
44 std::string m_host;
45 int m_port;
46};
47
48#endif // API_SERVER_H // end of SimpleApiServer
void init()
서버 초기화
Definition api_server.hpp:36
ApiServer(const std::string &host, int port)
ApiServer 생성자
Definition api_server.hpp:31
void start()
서버 시작
Definition api_server.hpp:41