You are viewing an older revision! See the latest version
HTTP Client
Http Client¶
Library¶
Architecture¶
The HttpClient is composed of:
- The actual client (HttpClient)
- Classes that act as a data repository, each of which deriving from the HttpData class (Http)
Reference¶
EthernetNetIf()
Instantiate the Interface & register it against the stack. DHCP will be used.
EthernetNetIf(IpAddr ip, IpAddr netmask, IpAddr gateway, IpAddr dns)
Instantiate the Interface & register it against the stack. DHCP will not be used. IpAddr is a container class that can be constructed with either 4 bytes or no parameters for a null IP address.
void setup()
Bring the interface up.
Architecture¶
This interface is built around the mbed's Ethernet class and the LwIP stack. For more information about LwIP, you can visit the project's development site or its Wiki.