Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

wrap WifiSecureClient by default #21

Closed
@proppy

Description

@proppy

Using Arduino Client interface like it was originally before d72b3ff.

This could make the API a lot easier Serial.print(Firebase.push(...)), but we still need a way to perform operation in a non blocking way while leaving tight control on the arduino main loop, ex:

FirebaseReq req = Firebase.child("logs").push("{\".sv\": \"timestamp\"}");
while (!req.done()) {
   req.transfer();
   // blink some led while transferring
   digitalWrite(LED_PIN, !digitalRead(LED_PIN));
}
Serial.print(req.response());

We also need a way to dump the intermediate request headers for debugging and offer a way to stream the request body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions