Add getters (#327)

* Add getters for IXSocketServer class

* Add getters for IXHttpServer class

* Add getters for IXWebSocketServer class
This commit is contained in:
flagarde
2021-11-25 00:28:25 +08:00
committed by GitHub
parent e66437b560
commit 74bb85efe9
6 changed files with 55 additions and 0 deletions

View File

@ -60,6 +60,11 @@ namespace ix
void setTLSOptions(const SocketTLSOptions& socketTLSOptions);
int getPort();
std::string getHost();
int getBacklog();
std::size_t getMaxConnections();
int getAddressFamily();
protected:
// Logging
void logError(const std::string& str);