mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2026-10-23 10:09:02 +03:00
d0a757775795fa0e84dd0c6d5bfede2d5ed634e7
Only 2 header bytes were guaranteed before reading the extended length and mask, so a partial header made read() return -1 and corrupt iRxSize. Bail out until all header bytes have arrived.
ArduinoHttpClient
ArduinoHttpClient is a library to make it easier to interact with web servers from Arduino.
Derived from Adrian McEwen's HttpClient library
Dependencies
- Requires a networking hardware and a library that provides transport specific
Clientinstance, such as:
Usage
In normal usage, handles the outgoing request and Host header. The returned status code is parsed for you, as is the Content-Length header (if present).
Because it expects an object of type Client, you can use it with any of the networking classes that derive from that. Which means it will work with WiFiClient, EthernetClient and GSMClient.
See the examples for more detail on how the library is used.
Description
Languages
C++
75.3%
C
24.7%