Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Webserver/Webserver.h')
-rw-r--r--src/Webserver/Webserver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Webserver/Webserver.h b/src/Webserver/Webserver.h
index ef14bcab..3e4f2c30 100644
--- a/src/Webserver/Webserver.h
+++ b/src/Webserver/Webserver.h
@@ -199,7 +199,7 @@ protected:
void SendFile(const char* nameOfFileToSend, bool isWebFile);
void SendGCodeReply();
void SendJsonResponse(const char* command);
- void GetJsonResponse(const char* request, OutputBuffer *&response, const char* key, const char* value, size_t valueLength, bool& keepOpen);
+ void GetJsonResponse(const char* request, OutputBuffer *&response, bool& keepOpen);
bool ProcessMessage();
bool RejectMessage(const char* s, unsigned int code = 500);
@@ -232,6 +232,7 @@ protected:
bool IsAuthenticated() const;
void UpdateAuthentication();
bool RemoveAuthentication();
+ const char* GetKeyValue(const char *key) const; // return the value of the specified key, or nullptr if not present
// Deal with incoming G-Codes