26 #ifndef NFD_DAEMON_FACE_WEBSOCKETPP_HPP
27 #define NFD_DAEMON_FACE_WEBSOCKETPP_HPP
29 #include "core/config.hpp"
31 #ifndef NFD_HAVE_WEBSOCKET
32 #error "Cannot include this file when WebSocket support is disabled"
36 #pragma GCC system_header
37 #pragma clang system_header
39 #include "websocketpp/config/asio_no_tls_client.hpp"
40 #include "websocketpp/client.hpp"
41 #include "websocketpp/config/asio_no_tls.hpp"
42 #include "websocketpp/server.hpp"
46 using Client = websocketpp::client<websocketpp::config::asio_client>;
47 using Server = websocketpp::server<websocketpp::config::asio>;
websocketpp::server< websocketpp::config::asio > Server
websocketpp::client< websocketpp::config::asio_client > Client