Просмотр исходного кода

Merge branch 'bugfix/remove_http_server_header_file' into 'master'

esp_http_server: Remove http_server.h Header file

See merge request espressif/esp-idf!18074
Mahavir Jain 3 лет назад
Родитель
Сommit
dae6467263

+ 0 - 7
components/esp_http_server/include/http_server.h

@@ -1,7 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-#warning http_server.h has been renamed to esp_http_server.h, please update include directives
-#include "esp_http_server.h"

+ 8 - 0
docs/en/migration-guides/protocols.rst

@@ -128,3 +128,11 @@ Following table summarizes the deprecated functions removed and their alternativ
 +-----------------------------------+----------------------------------------+
 
 - The function :cpp:func:`esp_tls_conn_http_new` has now been termed as deprecated. Please use the alternative function :cpp:func:`esp_tls_conn_http_new_sync` (or its asynchronous :cpp:func:`esp_tls_conn_http_new_async`). Note that the alternatives need an additional parameter :cpp:type:`esp_tls_t` which has to be initialized using the :cpp:func:`esp_tls_init` function.
+
+ESP HTTP SERVER
+-----------------
+
+Breaking Changes (Summary)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+``http_server.h`` header is no longer available in ``esp_http_server``. Please use ``esp_http_server.h`` instead.