BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
fc::http::detail::websocket_server_impl Class Reference
Inheritance diagram for fc::http::detail::websocket_server_impl:
fc::http::detail::generic_websocket_server_impl< asio_with_stub_log >

Public Member Functions

 websocket_server_impl (const std::string &forward_header_key)
 
virtual ~websocket_server_impl ()
 
- Public Member Functions inherited from fc::http::detail::generic_websocket_server_impl< asio_with_stub_log >
 generic_websocket_server_impl (const std::string &forward_header_key)
 
virtual ~generic_websocket_server_impl ()
 

Additional Inherited Members

- Public Types inherited from fc::http::detail::generic_websocket_server_impl< asio_with_stub_log >
typedef std::map< connection_hdl, websocket_connection_ptr, std::owner_less< connection_hdl > > con_map
 
- Public Attributes inherited from fc::http::detail::generic_websocket_server_impl< asio_with_stub_log >
con_map _connections
 Holds accepted connections. More...
 
fc::thread_server_thread
 The thread that runs the server. More...
 
websocketpp::server< asio_with_stub_log_server
 The server. More...
 
on_connection_handler _on_connection
 A handler to be called when a new connection is accepted. More...
 
fc::promise< void >::ptr _all_connections_closed
 Promise to wait for all connections to be closed. More...
 
fc::promise< void >::ptr _server_socket_closed
 Promise to wait for the server socket to be closed. More...
 
uint32_t _pending_messages
 Number of messages not processed, for rate limiting. More...
 
std::string _forward_header_key
 A header like "X-Forwarded-For" (XFF) with data IP:port. More...
 

Detailed Description

Definition at line 403 of file websocket.cpp.

Constructor & Destructor Documentation

◆ websocket_server_impl()

fc::http::detail::websocket_server_impl::websocket_server_impl ( const std::string &  forward_header_key)
inline

Definition at line 406 of file websocket.cpp.

◆ ~websocket_server_impl()

virtual fc::http::detail::websocket_server_impl::~websocket_server_impl ( )
inlinevirtual

Definition at line 410 of file websocket.cpp.


The documentation for this class was generated from the following file: