HTTP Server Examples : Include header esp_http_server.h

This commit is contained in:
Anurag Kar 2018-10-24 15:22:15 +05:30
parent 2af9d7e0ed
commit 8340ed3ddb
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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"

View File

@ -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.

View File

@ -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.