|
AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
|
HTTP library header file. More...
Go to the source code of this file.
Data Structures | |
| struct | httpConfig_st |
| An HTTP Configuration structure. More... | |
Functions | |
| bool | HTTP_start (httpConfig_st *ps_config) |
| Initialize HTTP configuration request and send the request. More... | |
| uint16_t | HTTP_availableToRead () |
| Check if HTTP data is available for read. More... | |
| bool | HTTP_read (packet_st *ps_packet) |
| Read HTTP response. More... | |
| void | HTTP_close () |
| Close HTTP connection. More... | |
| const char * | HTTP_getStateString (httpStates_et state_e) |
| Get HTTP state as string. More... | |
HTTP library header file.
| enum httpReq_et |
An enum that represents HTTP requests supported by the library.
| enum httpStates_et |
An enum that represents HTTP states of the library.
| uint16_t HTTP_availableToRead | ( | ) |
Check if HTTP data is available for read.
| none |
| void HTTP_close | ( | ) |
Close HTTP connection.
| none |
| const char * HTTP_getStateString | ( | httpStates_et | state_e | ) |
Get HTTP state as string.
| [in] | state_e | HTTP state |
| bool HTTP_read | ( | packet_st * | ps_packet | ) |
Read HTTP response.
| [out] | ps_packet | Response data |
| true | on success |
| false | on failure |
| bool HTTP_start | ( | httpConfig_st * | ps_config | ) |
Initialize HTTP configuration request and send the request.
| [in] | ps_config | HTTP configuration |
| true | on success |
| false | on failure |