26 #ifndef NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP 27 #define NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP 63 time::milliseconds pingInterval);
66 getCounters() const final;
72 receiveMessage(const
std::
string& msg);
86 doSend(const Block& packet) final;
95 processErrorCode(const websocketpp::lib::error_code& error);
98 websocketpp::connection_hdl m_handle;
99 websocket::
Server& m_server;
100 time::milliseconds m_pingInterval;
101 scheduler::ScopedEventId m_pingEventId;
113 #endif // NFD_DAEMON_FACE_WEBSOCKET_TRANSPORT_HPP
websocketpp::server< websocketpp::config::asio > Server
The lower half of a Face.
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 a 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.