adafruit / Adafruit_IO_Arduino

Arduino library to access Adafruit IO from WiFi, cellular, and ethernet modules.
Other
210 stars 107 forks source link

Replace endRequest with beginBody #106

Open brentru opened 4 years ago

brentru commented 4 years ago

Check if newer beginBody method exists in ArduinoHTTPClient. Replace endRequest and test on hardware targets.

https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Group.cpp#L322

  // the following call to endRequest
  // should be replaced by beginBody once the
  // Arduino HTTP Client Library is updated
  // _io->_http->beginBody();
  _io->_http->endRequest();