Releases: piscodev/r4httpclient
Releases · piscodev/r4httpclient
R4HttpClient v1.2.2
Version 1.2.2
UPDATE: Utilized stored client internally to avoid dangling pointer issues
- Updated begin() overloads to take WiFiSSLClient by reference for simpler usage
- Store client internally to avoid dangling pointer issues
- Allows calling begin(client, url) directly without &client
- Improved safety and maintainability of client handling
R4HttpClient v1.2.1
Version 1.2.1
- revised pointer and object
- added retry timeout to sendRequest. Whenever request is made either POST or GET, it checks if the client is connected until specified timeout returning an error connection refused.
- revised response state to check if the request is chunked, else check content length, else read until close.
R4HttpClient v1.2.0
Version 1.2.0
- Initialization timing fix that causes connection refused right after connecting to Wi-Fi mainly due to Wi-Fi client was not properly initialized.
- revised reading responses; fixing the request method not checking if the response is chunked or may have been just getting a content.
- Added delay(1000) right after being connected to the Wi-Fi.
- Fixes and optimizations
R4HttpClient v1.0.4
- Updated vector.push_back to .emplace_back to avoid unnecessary copies.
- Updated int port to uint16_t
R4HttpClient v1.0.3
- v1.0.3 Minor fixes: Fixed error when uploading code from http.setHeader() to http.addHeader()
R4HttpClient v1.0.2
- Added ResponseState for reading responses to reduce loops.
- Added debugging mode to see the raw requests being processed.
- Added HttpStatus codes and Error codes inspired by esp32httpclient.
- Removed int readResponse() as merged to sendRequest() all in one function.
- Fixed bug where GET method request does not return content body.
R4HttpClient v1.0.0
The first version of the wrapper for Arduino UNO R4 WiFi HttpClient with functionality of GET & POST.