30 const PROGMEM
char PARSE[] =
"Parse";
45 int get(String url, String parsingInstructions = (
const char*) 0,
int maxLength = 0);
46 int post(String url, String data, String parsingInstructions = (
const char*) 0,
int maxLength = 0);
48 int get(
EPtr url,
EPtr parsingInstructions,
int maxLength = 0);
51 void getResponse(
char* responseBuffer,
int length,
char** parts = 0,
int partCount = 0);
int resultId
Definition: Web.h:41
Definition: VirtualShield.h:50
VirtualShield & shield
Definition: Sensor.h:55
const PROGMEM char PARSE[]
Definition: Web.h:30
int post(String url, String data, String parsingInstructions=(const char *) 0, int maxLength=0)
Performs a web Post, optionally returning a result.
Definition: Web.cpp:68
const int maxResponseLength
Definition: Web.h:36
void getResponse(char *responseBuffer, int length, char **parts=0, int partCount=0)
Copies the current web response (only valid before another web event) into a supplied buffer...
Definition: Web.cpp:111
Definition: SensorModels.h:101
Definition: ShieldEvent.h:35
Web(const VirtualShield &shield)
Initializes a new instance of the Web class.
Definition: Web.cpp:45
void onJsonReceived(ArduinoJson::JsonObject &root, ShieldEvent *shieldEvent) override
Event called when a valid json message was received. Consumes the proper values for this sensor...
Definition: Web.cpp:138