Projets
Voir sur GitHub
amcewen/HttpClient
À propos
Bibliothèque HTTP pour Arduino
Outils de développementProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalHttpClient
HttpClient is a library to make it easier to interact with web servers from Arduino.
Dependencies
- Requires the new Ethernet library API (with DHCP and DNS) which is in Arduino 1.0 and later
Installation
- Download the latest version of the library from https://github.com/amcewen/HttpClient/releases and save the file somewhere
- In the Arduino IDE, go to the Sketch -> Import Library -> Add Library... menu option
- Find the zip file that you saved in the first step, and choose that
- 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
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.
See the examples for more detail on how the library is used.
Explorer des projets similaires
Chargement…