|
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< CreateRenewListenKeyResponse > | create_renew_listen_key (const CreateRenewListenKeyParams ¶ms={}) const |
| Create / Renew Listen Key (USER_STREAM). | |
| template<class CompletionToken> | |
| auto | async_create_renew_listen_key (const CreateRenewListenKeyParams ¶ms, CompletionToken &&token) const |
| Asynchronous create_renew_listen_key(). | |
|
explicit |
|
nodiscard |
Create / Renew Listen Key (USER_STREAM).
POST /sapi/v1/equity/listenKey.
Create a new stock user-data-stream listenKey, or renew an existing one. Calling this endpoint for the same user with an active listenKey extends its validity; if there is no active key, a new one is issued. Use the returned listenKey to subscribe to the stock user data stream.
Weight: 1
Security Type: USER_STREAM
|
inline |
Asynchronous create_renew_listen_key().
Completes with void(std::exception_ptr, common::RestApiResponse<CreateRenewListenKeyResponse>).