mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-19 21:22:15 +03:00
Remove installation instructions, update dependencies
This commit is contained in:
parent
c5484daee9
commit
91ea1fd8fa
15
README.md
15
README.md
@ -6,20 +6,17 @@ Derived from [Adrian McEwen's HttpClient library](https://github.com/amcewen/Htt
|
|||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
- Requires the new Ethernet library API (with DHCP and DNS) which is in Arduino 1.0 and later
|
- Requires a networking hardware and a library that provides transport specific `Client` instance, such as:
|
||||||
|
- [WiFi101](https://github.com/arduino-libraries/WiFi101)
|
||||||
## Installation
|
- [Ethernet](https://github.com/arduino-libraries/Ethernet)
|
||||||
|
- [WiFi](https://github.com/arduino-libraries/WiFi)
|
||||||
1. Download the latest version of the library from https://github.com/amcewen/HttpClient/releases and save the file somewhere
|
- [GSM](https://github.com/arduino-libraries/GSM)
|
||||||
1. In the Arduino IDE, go to the Sketch -> Import Library -> Add Library... menu option
|
|
||||||
1. Find the zip file that you saved in the first step, and choose that
|
|
||||||
1. Check that it has been successfully added by opening the Sketch -> Import Library menu. You should now see HttpClient listed among the available libraries.
|
|
||||||
|
|
||||||
## Usage
|
## 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).
|
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 EthernetClient, WiFiClient and GSMClient.
|
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.
|
See the examples for more detail on how the library is used.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user