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

Method setTimeout

libraries/HTTPClient/src/HTTPClient.cpp:476–481  ·  view source on GitHub ↗

* set the timeout for the TCP connection * @param timeout unsigned int */

Source from the content-addressed store, hash-verified

474 * @param timeout unsigned int
475 */
476void HTTPClient::setTimeout(uint16_t timeout) {
477 _tcpTimeout = timeout;
478 if (connected()) {
479 _client->setTimeout(timeout);
480 }
481}
482
483/**
484 * use HTTP1.0

Callers 4

connectMethod · 0.45
handleClientMethod · 0.45
_fillMethod · 0.45
handleUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected