Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 2.22 KB

File metadata and controls

32 lines (22 loc) · 2.22 KB

ArduinoHttpClient - ESP32 Compatible Fork

Check Arduino status Compile Examples status Spell Check status

This fork tracks upstream with only renamed HttpClient files. This makes it compatible with Arduino-ESP32's built-in HTTPClient class. ESP32's class only supports the built-in Wi-Fi, so this library allows other interfaces to be used for HTTP requests.

This collision only occurs on Windows as the file paths are case-insensitive. The class name can be preserved as the c++ compiler differentiates between HttpClient and HTTPClient.

ArduinoHttpClient is a library to make it easier to interact with web servers from Arduino.

Derived from Adrian McEwen's HttpClient library

Dependencies

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.