mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
HTTP Server Examples : Include header esp_http_server.h
This commit is contained in:
parent
2af9d7e0ed
commit
8340ed3ddb
@ -1,7 +1,7 @@
|
|||||||
#ifndef __HTTPD_TESTS_H__
|
#ifndef __HTTPD_TESTS_H__
|
||||||
#define __HTTPD_TESTS_H__
|
#define __HTTPD_TESTS_H__
|
||||||
|
|
||||||
#include <http_server.h>
|
#include <esp_http_server.h>
|
||||||
|
|
||||||
extern httpd_handle_t start_tests(void);
|
extern httpd_handle_t start_tests(void);
|
||||||
extern void stop_tests(httpd_handle_t hd);
|
extern void stop_tests(httpd_handle_t hd);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <esp_log.h>
|
#include <esp_log.h>
|
||||||
#include <esp_system.h>
|
#include <esp_system.h>
|
||||||
#include <http_server.h>
|
#include <esp_http_server.h>
|
||||||
|
|
||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <esp_system.h>
|
#include <esp_system.h>
|
||||||
#include <nvs_flash.h>
|
#include <nvs_flash.h>
|
||||||
|
|
||||||
#include <http_server.h>
|
#include <esp_http_server.h>
|
||||||
|
|
||||||
/* An example to demonstrate persistent sockets, with context maintained across
|
/* An example to demonstrate persistent sockets, with context maintained across
|
||||||
* multiple requests on that socket.
|
* multiple requests on that socket.
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <nvs_flash.h>
|
#include <nvs_flash.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
||||||
#include <http_server.h>
|
#include <esp_http_server.h>
|
||||||
|
|
||||||
/* A simple example that demonstrates how to create GET and POST
|
/* A simple example that demonstrates how to create GET and POST
|
||||||
* handlers for the web server.
|
* handlers for the web server.
|
||||||
|
Loading…
Reference in New Issue
Block a user