@@ -37,19 +37,19 @@ class Firebase {
37
37
Firebase (const String& host);
38
38
Firebase& auth (const String& auth);
39
39
40
- // Fetch value at " path" .
40
+ // Fetch json encoded ` value` at ` path` .
41
41
FirebaseGet get (const String& path);
42
42
43
- // Set value at " path" .
44
- FirebaseSet set (const String& path, const String& value );
43
+ // Set json encoded ` value` at ` path` .
44
+ FirebaseSet set (const String& path, const String& json );
45
45
46
- // Add new value to list at " path" .
47
- FirebasePush push (const String& path, const String& value );
46
+ // Add new json encoded ` value` to list at ` path` .
47
+ FirebasePush push (const String& path, const String& json );
48
48
49
- // Delete value at " path" .
49
+ // Delete value at ` path` .
50
50
FirebaseRemove remove (const String& path);
51
51
52
- // Start a stream of events that affect value at " path" .
52
+ // Start a stream of events that affect value at ` path` .
53
53
FirebaseStream stream (const String& path);
54
54
55
55
private:
@@ -146,7 +146,7 @@ class FirebaseStream : public FirebaseCall {
146
146
FirebaseStream (const String& host, const String& auth,
147
147
const String& path, HTTPClient* http = NULL );
148
148
149
- // Return if there is events available to read.
149
+ // Return if there is any event available to read.
150
150
bool available ();
151
151
152
152
// Event type.
@@ -156,7 +156,7 @@ class FirebaseStream : public FirebaseCall {
156
156
PATCH
157
157
};
158
158
159
- // Read next event from the stream.
159
+ // Read next json encoded ` event` from stream.
160
160
Event read (String& event);
161
161
162
162
const FirebaseError& error () const {
0 commit comments