Skip to content

Creating user data stream #57

@gitkornel

Description

@gitkornel

Hello, I've been wondering how can you create a user data listen stream?

There is no example and quite didn't understand the code.

What I came up to (but doesn't compile neither works):

SomeFunctor ws_stream_read{};
std::string cust_stream = "fapi/v1/listenKey";
std::thread t1(&FuturesClientUSDT::stream_userStream<SomeFunctor>, cust_stream, std::ref(ws_stream_read.msg_buffer), std::ref(ws_stream_read));
t1.join();

Any ideas?

Best Regards.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions