|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <user_data_streams_api.hpp>
Public Member Functions | |
| UserDataStreamsApi (std::shared_ptr< common::RestClient > client) | |
| common::RestApiResponse< boost::json::value > | close_user_data_stream () const |
| Close User Data Stream (USER_STREAM). | |
| template<class CompletionToken> | |
| auto | async_close_user_data_stream (CompletionToken &&token) const |
| Asynchronous close_user_data_stream(). | |
| common::RestApiResponse< KeepaliveUserDataStreamResponse > | keepalive_user_data_stream () const |
| Keepalive User Data Stream (USER_STREAM). | |
| template<class CompletionToken> | |
| auto | async_keepalive_user_data_stream (CompletionToken &&token) const |
| Asynchronous keepalive_user_data_stream(). | |
| common::RestApiResponse< StartUserDataStreamResponse > | start_user_data_stream () const |
| Start User Data Stream (USER_STREAM). | |
| template<class CompletionToken> | |
| auto | async_start_user_data_stream (CompletionToken &&token) const |
| Asynchronous start_user_data_stream(). | |
|
explicit |
|
nodiscard |
Close User Data Stream (USER_STREAM).
DELETE /dapi/v1/listenKey.
Close out a user data stream.
Weight(IP): 1
Security Type: USER_STREAM
|
inline |
Asynchronous close_user_data_stream().
Completes with void(std::exception_ptr, common::RestApiResponse<boost::json::value>).
|
nodiscard |
Keepalive User Data Stream (USER_STREAM).
PUT /dapi/v1/listenKey.
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes.
Weight(IP): 1
Security Type: USER_STREAM
|
inline |
Asynchronous keepalive_user_data_stream().
Completes with void(std::exception_ptr, common::RestApiResponse<KeepaliveUserDataStreamResponse>).
|
nodiscard |
Start User Data Stream (USER_STREAM).
POST /dapi/v1/listenKey.
Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active listenKey, that listenKey will be returned and its validity will be extended for 60 minutes.
Weight(IP): 1
Security Type: USER_STREAM
|
inline |
Asynchronous start_user_data_stream().
Completes with void(std::exception_ptr, common::RestApiResponse<StartUserDataStreamResponse>).