Add thank-you note for blueagain from libera.chat
This commit is contained in:
parent
6cbe6ae47f
commit
a0cfc10fa2
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_bitcoinity (WebsocketReader& ws, std::string_view exchange, std::string_view currency) {
|
void init_bitcoinity (WebsocketReader& ws, std::string_view exchange, std::string_view currency) {
|
||||||
|
//thanks to blueagain from #javascript libera.chat for helping figuring
|
||||||
|
//out the websocket address and the correct sequence of messages to
|
||||||
|
//initiate the communication properly.
|
||||||
|
//https://github.com/terrablue
|
||||||
{
|
{
|
||||||
ws.write(R"({"topic":"all","event":"phx_join","payload":{},"ref":"1"})");
|
ws.write(R"({"topic":"all","event":"phx_join","payload":{},"ref":"1"})");
|
||||||
auto resp = to_bitcoinity_message(ws.read());
|
auto resp = to_bitcoinity_message(ws.read());
|
||||||
|
|
Loading…
Reference in a new issue