summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/client_wss.hpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2017-01-04 19:22:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2017-01-04 19:22:13 +0100
commit74b24ecefb2c9bff09f88c400ba5f27fc64f7a7f (patch)
tree845c0a80ce7fbf8370d9770c951e62a584ef5354 /src/lib/util/client_wss.hpp
parentafb373f8fd4cadfbb123bffc4b8335b4b90be4aa (diff)
Added websockets as well (nw)
Diffstat (limited to 'src/lib/util/client_wss.hpp')
-rw-r--r--src/lib/util/client_wss.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/util/client_wss.hpp b/src/lib/util/client_wss.hpp
index ae00c0346cb..ef30b459607 100644
--- a/src/lib/util/client_wss.hpp
+++ b/src/lib/util/client_wss.hpp
@@ -70,6 +70,13 @@ namespace webpp {
});
}
};
+
+ class wss_client : public SocketClient<WSS> {
+ public:
+ explicit wss_client(const std::string& server_port_path, bool verify_certificate = true,
+ const std::string& cert_file = std::string(), const std::string& private_key_file = std::string(),
+ const std::string& verify_file = std::string()) : SocketClient<WSS>::SocketClient(server_port_path, verify_certificate, cert_file, private_key_file, verify_file) {}
+ };
}
#endif /* CLIENT_WSS_HPP */