first commit
This commit is contained in:
24
main/wifi_service/http_client.h
Normal file
24
main/wifi_service/http_client.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* web_client.h
|
||||
*
|
||||
* Created on: 4. aug. 2023
|
||||
* Author: OZ1CM
|
||||
*/
|
||||
|
||||
#ifndef MAIN_INCLUDE_HTTP_CLIENT_H_
|
||||
#define MAIN_INCLUDE_HTTP_CLIENT_H_
|
||||
#include "esp_http_client.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
// Config
|
||||
esp_http_client_config_t config;
|
||||
esp_http_client_handle_t client;
|
||||
|
||||
}http_client_t;
|
||||
|
||||
int http_client_sendUrl(http_client_t *inst,char *url);
|
||||
|
||||
|
||||
|
||||
#endif /* MAIN_INCLUDE_HTTP_CLIENT_H_ */
|
||||
Reference in New Issue
Block a user