From 0d8360b0a987ed8cba0490e357331b35bc8dc139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20=22pxsty=22=20K=C3=96K?= <75846829+pxsty0@users.noreply.github.com> Date: Fri, 28 Jun 2024 21:51:19 +0300 Subject: [PATCH] function names updated --- src/PxServ.cpp | 6 +++--- src/PxServ.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PxServ.cpp b/src/PxServ.cpp index b0e82ba..2656e98 100644 --- a/src/PxServ.cpp +++ b/src/PxServ.cpp @@ -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; @@ -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; @@ -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; diff --git a/src/PxServ.h b/src/PxServ.h index 479c074..b7a6c57 100644 --- a/src/PxServ.h +++ b/src/PxServ.h @@ -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;