websocketpp.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_FACE_WEBSOCKETPP_HPP
27 #define NFD_DAEMON_FACE_WEBSOCKETPP_HPP
28 
29 #ifndef HAVE_WEBSOCKET
30 #error "Cannot include this file when WebSocket support is disabled"
31 #endif // HAVE_WEBSOCKET
32 
33 // suppress websocketpp warnings
34 #pragma GCC system_header
35 #pragma clang system_header
36 
37 #include <websocketpp/config/asio_no_tls_client.hpp>
38 #include <websocketpp/client.hpp>
39 #include "websocketpp/config/asio_no_tls.hpp"
40 #include "websocketpp/server.hpp"
41 
42 namespace nfd {
43 namespace websocket {
44 
45 typedef websocketpp::client<websocketpp::config::asio_client> Client;
46 typedef websocketpp::server<websocketpp::config::asio> Server;
47 
48 } // namespace websocket
49 } // namespace nfd
50 
51 #endif // NFD_DAEMON_FACE_WEBSOCKETPP_HPP
websocketpp::server< websocketpp::config::asio > Server
Definition: websocketpp.hpp:46
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition: algorithm.hpp:32
websocketpp::client< websocketpp::config::asio_client > Client
Definition: websocketpp.hpp:45