26 #ifndef NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP 64 time::milliseconds pingInterval);
67 getCounters() const final;
73 receiveMessage(const
std::
string& msg);
96 processErrorCode(const websocketpp::lib::error_code& error);
99 websocketpp::connection_hdl m_handle;
100 websocket::
Server& m_server;
101 time::milliseconds m_pingInterval;
102 scheduler::ScopedEventId m_pingEventId;
114 #endif // NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP
websocketpp::server< websocketpp::config::asio > Server
stores a packet along with the remote endpoint
represents a counter of number of packets
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
counters provided by WebSocketTransport
counters provided by Transport
PacketCounter nOutPings
count of outgoing Pings
PacketCounter nInPongs
count of incoming Pongs
WebSocketTransportCounters Counters
counters provided by WebSocketTransport
A Transport that communicates on a WebSocket connection.