MCPcopy Create free account
hub / github.com/amcewen/HttpClient

github.com/amcewen/HttpClient @2.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.2.0 ↗ · + Follow
32 symbols 34 edges 4 files 9 documented · 28% updated 3y ago2.2.0 · 2015-07-03★ 34323 open issues

Browse by type

Functions 31 Types & classes 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HttpClient

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

  1. Download the latest version of the library from https://github.com/amcewen/HttpClient/releases and save the file somewhere
  2. In the Arduino IDE, go to the Sketch -> Import Library -> Add Library... menu option
  3. Find the zip file that you saved in the first step, and choose that
  4. 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.

Core symbols most depended-on inside this repo

Shape

Method 30
Class 1
Function 1

Languages

C++100%

Modules by API surface

HttpClient.h16 symbols
HttpClient.cpp15 symbols
b64.cpp1 symbols

For agents

$ claude mcp add HttpClient \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page