mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 04:34:31 +02:00
HTTP Server Examples : Include header esp_http_server.h
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user