MCPcopy Create free account
hub / github.com/Heltec-Aaron-Lee/WiFi_Kit_series / sendRequest

Method sendRequest

libraries/HTTPClient/src/HTTPClient.cpp:548–550  ·  view source on GitHub ↗

* sendRequest * @param type const char * "GET", "POST", .... * @param payload String data for the message body * @return */

Source from the content-addressed store, hash-verified

546 * @return
547 */
548int HTTPClient::sendRequest(const char *type, String payload) {
549 return sendRequest(type, (uint8_t *)payload.c_str(), payload.length());
550}
551
552/**
553 * sendRequest

Callers

nothing calls this directly

Calls 11

StringClass · 0.85
delayFunction · 0.85
c_strMethod · 0.80
getWriteErrorMethod · 0.80
clearWriteErrorMethod · 0.80
lengthMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45
writeMethod · 0.45
availableMethod · 0.45
readBytesMethod · 0.45

Tested by

no test coverage detected