|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
A connection lifecycle event. More...
#include <websocket_common.hpp>
Public Attributes | |
| WebsocketEventType | type = WebsocketEventType::Open |
| std::string | data |
| The message text (Message), the error description (Error) or the close reason (Close). | |
| std::uint16_t | close_code = 0 |
| The close code (Close). | |
| std::string | connection_id |
| The connection the event comes from. | |
A connection lifecycle event.
| WebsocketEventType binance::common::WebsocketEvent::type = WebsocketEventType::Open |
| std::string binance::common::WebsocketEvent::data |
The message text (Message), the error description (Error) or the close reason (Close).
| std::uint16_t binance::common::WebsocketEvent::close_code = 0 |
The close code (Close).
| std::string binance::common::WebsocketEvent::connection_id |
The connection the event comes from.