Skip to content

Instantly share code, notes, and snippets.

View zastrixarundell's full-sized avatar
🐲
Drem Yol Lok

Luka Bodroža zastrixarundell

🐲
Drem Yol Lok
  • Phoenix and Rails developer at Kolosek
  • Novi Sad, Serbia
  • 01:44 (UTC +02:00)
  • LinkedIn in/luka-bodroza
View GitHub Profile
@zastrixarundell
zastrixarundell / PhoenixConnection.cpp
Last active August 30, 2020 20:14
Arduino Phoenix websockets client
#include "PhoenixConnection.hpp"
PhoenixConnection::PhoenixConnection(const char* deviceId, const char* deviceName, const char* websocketUrl, const char* origin)
{
this -> deviceId = deviceId;
this -> deviceName = deviceName;
this -> websocketUrl = websocketUrl;
setDefaultJoinCallback();
setDefaultLeaveCallback();