diff options
author | eidheim <eidheim@gmail.com> | 2021-02-17 11:00:57 +0300 |
---|---|---|
committer | eidheim <eidheim@gmail.com> | 2021-02-17 11:04:50 +0300 |
commit | 333f8dd4440e7d51136dd1b92f4eeb0ef2014dc0 (patch) | |
tree | 6cc3d63826b19bf42c2776bbbab13cf2705a2a15 | |
parent | 92cbb95fe06378a0f0cac0f7cf90a829aa85ea4a (diff) |
Corrected documentation of SocketServer<WSS> constructor
-rw-r--r-- | client_ws.hpp | 2 | ||||
-rw-r--r-- | server_ws.hpp | 2 | ||||
-rw-r--r-- | server_wss.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client_ws.hpp b/client_ws.hpp index e4a26f6..98df3b8 100644 --- a/client_ws.hpp +++ b/client_ws.hpp @@ -70,7 +70,7 @@ namespace SimpleWeb { private: template <typename... Args> - Connection(std::shared_ptr<ScopeRunner> handler_runner_, long timeout_idle, Args &&... args) noexcept + Connection(std::shared_ptr<ScopeRunner> handler_runner_, long timeout_idle, Args &&...args) noexcept : handler_runner(std::move(handler_runner_)), socket(new socket_type(std::forward<Args>(args)...)), timeout_idle(timeout_idle), closed(false) {} std::shared_ptr<ScopeRunner> handler_runner; diff --git a/server_ws.hpp b/server_ws.hpp index 2256d55..715be40 100644 --- a/server_ws.hpp +++ b/server_ws.hpp @@ -90,7 +90,7 @@ namespace SimpleWeb { private: /// Used to call SocketServer::upgrade. template <typename... Args> - Connection(std::shared_ptr<ScopeRunner> handler_runner_, long timeout_idle, Args &&... args) noexcept + Connection(std::shared_ptr<ScopeRunner> handler_runner_, long timeout_idle, Args &&...args) noexcept : handler_runner(std::move(handler_runner_)), socket(new socket_type(std::forward<Args>(args)...)), timeout_idle(timeout_idle), closed(false) {} std::shared_ptr<ScopeRunner> handler_runner; diff --git a/server_wss.hpp b/server_wss.hpp index 05afd85..db1aed6 100644 --- a/server_wss.hpp +++ b/server_wss.hpp @@ -23,7 +23,7 @@ namespace SimpleWeb { /** * Constructs a server object. * - * @param certification_file If non-empty, sends the given certification file to client. + * @param certification_file Sends the given certification file to client. * @param private_key_file Specifies the file containing the private key for certification_file. * @param verify_file If non-empty, use this certificate authority file to perform verification of client's certificate and hostname according to RFC 2818. */ |