diff options
author | 2017-01-04 19:22:13 +0100 | |
---|---|---|
committer | 2017-01-04 19:22:13 +0100 | |
commit | 74b24ecefb2c9bff09f88c400ba5f27fc64f7a7f (patch) | |
tree | 845c0a80ce7fbf8370d9770c951e62a584ef5354 /src/lib/util/client_wss.hpp | |
parent | afb373f8fd4cadfbb123bffc4b8335b4b90be4aa (diff) |
Added websockets as well (nw)
Diffstat (limited to 'src/lib/util/client_wss.hpp')
-rw-r--r-- | src/lib/util/client_wss.hpp | 7 |
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 */ |