mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-19 21:22:15 +03:00
`library.json` is PlatformIO's native library manifest file but Arduino's `library.properties` is also supported by PlatformIO: https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-library The `library.json` file was missing the required `version` field: https://docs.platformio.org/en/latest/librarymanager/config.html#version Although it could be added, experience with other libraries indicates that it is not really realistic to expect two manifest files to be properly maintained. Since the Arduino development software and the Arduino Library Manager requires `library.properties`, if we are to have only one the choice of keeping `library.properties` and removing `library.json` is clear.
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
Client
instance, 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%
C
25%