aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/curl/curljsonrequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/networking/curl/curljsonrequest.h')
-rw-r--r--backends/networking/curl/curljsonrequest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/curl/curljsonrequest.h b/backends/networking/curl/curljsonrequest.h
index 0a560f93f4..9bd12a13de 100644
--- a/backends/networking/curl/curljsonrequest.h
+++ b/backends/networking/curl/curljsonrequest.h
@@ -33,13 +33,13 @@ typedef Response<Common::JSONValue *> JsonResponse;
typedef Common::BaseCallback<JsonResponse> *JsonCallback;
class CurlJsonRequest: public CurlRequest {
+protected:
JsonCallback _jsonCallback;
Common::MemoryWriteStreamDynamic _contentsStream;
/** Prepares raw bytes from _contentsStream to be parsed with Common::JSON::parse(). */
char *getPreparedContents();
-protected:
/** Sets FINISHED state and passes the JSONValue * into user's callback in JsonResponse. */
virtual void finishJson(Common::JSONValue *json);