Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65ec1bf

Browse files
committed
firebase: better docstrings
1 parent52e7a7f commit65ec1bf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎Firebase.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ class Firebase {
3737
Firebase(const String& host);
3838
Firebase&auth(const String& auth);
3939

40-
// Fetch value at"path".
40+
// Fetchjson encoded `value` at`path`.
4141
FirebaseGetget(const String& path);
4242

43-
// Set value at"path".
44-
FirebaseSetset(const String& path,const String&value);
43+
// Setjson encoded `value` at`path`.
44+
FirebaseSetset(const String& path,const String&json);
4545

46-
// Add new value to list at"path".
47-
FirebasePushpush(const String& path,const String&value);
46+
// Add newjson encoded `value` to list at`path`.
47+
FirebasePushpush(const String& path,const String&json);
4848

49-
// Delete value at"path".
49+
// Delete value at`path`.
5050
FirebaseRemoveremove(const String& path);
5151

52-
// Start a stream of events that affect value at"path".
52+
// Start a stream of events that affect value at`path`.
5353
FirebaseStreamstream(const String& path);
5454

5555
private:
@@ -146,7 +146,7 @@ class FirebaseStream : public FirebaseCall {
146146
FirebaseStream(const String& host,const String& auth,
147147
const String& path, HTTPClient* http =NULL);
148148

149-
// Return if there isevents available to read.
149+
// Return if there isany event available to read.
150150
boolavailable();
151151

152152
// Event type.
@@ -156,7 +156,7 @@ class FirebaseStream : public FirebaseCall {
156156
PATCH
157157
};
158158

159-
// Read next event from the stream.
159+
// Read nextjson encoded `event` from stream.
160160
Eventread(String& event);
161161

162162
const FirebaseError&error()const {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp