Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos EthernetInterface
TinyHTTP_b.h File Reference
Tiny HTTP Client. More...
Go to the source code of this file.
Functions | |
| int | httpRequest (int method, char *host, int port, char *uri, char *head, char *body, onHttpReceiveFunc func) |
| send http request | |
Detailed Description
Tiny HTTP Client.
Definition in file TinyHTTP_b.h.
Function Documentation
| int httpRequest | ( | int | method, |
| char * | host, | ||
| int | port, | ||
| char * | uri, | ||
| char * | head, | ||
| char * | body, | ||
| onHttpReceiveFunc | func | ||
| ) |
send http request
- Parameters:
-
method METHOD_GET or METHOD_POST host http server uri URI head http header (CR+LF) (or NULL) body POST body (or NULL)
- Returns:
- http code, -1:failue
Definition at line 77 of file TinyHTTP_b.cpp.
Generated on Tue Jul 12 2022 20:05:55 by
1.7.2