Skip to content

Commit

Permalink
function names updated
Browse files Browse the repository at this point in the history
  • Loading branch information
pxsty0 committed Jun 28, 2024
1 parent 08bd9be commit 0d8360b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/PxServ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PxServ::PxServ(String apiKey)
_apiKey = apiKey;
}

PxServ::Callback PxServ::set(String key, String value)
PxServ::Callback PxServ::setData(String key, String value)
{
WiFiClientSecure *client = new WiFiClientSecure;
Callback callback;
Expand Down Expand Up @@ -54,7 +54,7 @@ PxServ::Callback PxServ::set(String key, String value)
delete client;
return callback;
}
PxServ::Callback PxServ::get(String key)
PxServ::Callback PxServ::getData(String key)
{
WiFiClientSecure *client = new WiFiClientSecure;
Callback callback;
Expand Down Expand Up @@ -113,7 +113,7 @@ PxServ::Callback PxServ::get(String key)
delete client;
return callback;
}
PxServ::Callback PxServ::remove(String key)
PxServ::Callback PxServ::removeData(String key)
{
WiFiClientSecure *client = new WiFiClientSecure;
Callback callback;
Expand Down
6 changes: 3 additions & 3 deletions src/PxServ.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class PxServ
};

PxServ(String apiKey);
Callback set(String key, String value);
Callback get(String key);
Callback remove(String key);
Callback setData(String key, String value);
Callback getData(String key);
Callback removeData(String key);

private:
String _apiKey;
Expand Down

0 comments on commit 0d8360b

Please sign in to comment.