Преглед на файлове

esp_http_server: Remove http_server.h Header file

Harshit Malpani преди 3 години
родител
ревизия
73fc12cdcd
променени са 2 файла, в които са добавени 8 реда и са изтрити 7 реда
  1. 0 7
      components/esp_http_server/include/http_server.h
  2. 8 0
      docs/en/migration-guides/protocols.rst

+ 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

@@ -114,3 +114,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.
 - 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.