BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | List of all members
fc::http::detail::generic_websocket_client_impl< T > Class Template Reference

Public Member Functions

 generic_websocket_client_impl ()
 
virtual ~generic_websocket_client_impl ()
 
websocket_connection_ptr connect (const std::string &uri, const fc::http::headers &headers)
 

Public Attributes

fc::promise< void >::ptr _connected
 
fc::promise< void >::ptr _closed
 
fc::thread_client_thread
 
websocketpp::client< T > _client
 
websocket_connection_ptr _connection
 
std::string _uri
 
fc::optional< connection_hdl > _hdl
 

Detailed Description

template<typename T>
class fc::http::detail::generic_websocket_client_impl< T >

Definition at line 449 of file websocket.cpp.

Constructor & Destructor Documentation

◆ generic_websocket_client_impl()

Definition at line 452 of file websocket.cpp.

◆ ~generic_websocket_client_impl()

template<typename T >
virtual fc::http::detail::generic_websocket_client_impl< T >::~generic_websocket_client_impl ( )
inlinevirtual

Definition at line 501 of file websocket.cpp.

Member Function Documentation

◆ connect()

template<typename T >
websocket_connection_ptr fc::http::detail::generic_websocket_client_impl< T >::connect ( const std::string &  uri,
const fc::http::headers headers 
)
inline

Definition at line 512 of file websocket.cpp.

Member Data Documentation

◆ _client

template<typename T >
websocketpp::client<T> fc::http::detail::generic_websocket_client_impl< T >::_client

Definition at line 545 of file websocket.cpp.

◆ _client_thread

template<typename T >
fc::thread& fc::http::detail::generic_websocket_client_impl< T >::_client_thread

Definition at line 544 of file websocket.cpp.

◆ _closed

template<typename T >
fc::promise<void>::ptr fc::http::detail::generic_websocket_client_impl< T >::_closed

Definition at line 543 of file websocket.cpp.

◆ _connected

template<typename T >
fc::promise<void>::ptr fc::http::detail::generic_websocket_client_impl< T >::_connected

Definition at line 542 of file websocket.cpp.

◆ _connection

Definition at line 546 of file websocket.cpp.

◆ _hdl

template<typename T >
fc::optional<connection_hdl> fc::http::detail::generic_websocket_client_impl< T >::_hdl

Definition at line 548 of file websocket.cpp.

◆ _uri

template<typename T >
std::string fc::http::detail::generic_websocket_client_impl< T >::_uri

Definition at line 547 of file websocket.cpp.


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