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

Commit2658a0d

Browse files
committed
Merge pull requestFirebaseExtended#37 from proppy/remove-val
Firebase: replace val by get
2 parentse6bde19 +a3fd730 commit2658a0d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎Firebase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Firebase& Firebase::auth(const String& auth) {
2727
return *this;
2828
}
2929

30-
StringFirebase::val(const String& path) {
30+
StringFirebase::get(const String& path) {
3131
returnsendRequest("GET", path);
3232
}
3333

‎Firebase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Firebase {
5050
const FirebaseError&error()const {
5151
return _error;
5252
}
53-
Stringval(const String& path);
53+
Stringget(const String& path);
5454
Stringpush(const String& path,const String& value);
5555
boolconnected();
5656
Firebase&stream(const String& path);

‎examples/FirebasePush_ESP8266/FirebasePush_ESP8266.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void setup() {
4848
// print response.
4949
Serial.println(l);
5050
// print all entries.
51-
Serial.println(fbase.val("/logs"));
51+
Serial.println(fbase.get("/logs"));
5252
}
5353

5454
voidloop() {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp