feat(iot): constructeur API
This commit is contained in:
@ -1,8 +1,12 @@
|
||||
#include "../include/API.h"
|
||||
|
||||
|
||||
API::API(){
|
||||
//TODO: implement API constructor
|
||||
API::API(String user, String password, String host, bool https = true){
|
||||
this->user = user;
|
||||
this->password = password;
|
||||
this->serveurHost = host;
|
||||
this->https = https;
|
||||
this->token = "";
|
||||
}
|
||||
|
||||
JSONVar* API::connect(){
|
||||
|
Reference in New Issue
Block a user