Implement comments and add info on ESP32S2

This commit is contained in:
Kirill Chalov
2020-03-09 19:21:01 +08:00
committed by Marius Vikhammer
parent 9ed60af1f2
commit 0cc9ffb8f7
2 changed files with 102 additions and 53 deletions
@@ -100,7 +100,7 @@ Persistent Connections example
HTTPS
-----
The HTTP client supports SSL connections using **mbedtls**, with the **url** configuration starting with ``https`` scheme (or ``transport_type = HTTP_TRANSPORT_OVER_SSL``). HTTPS support can be configured via :ref:`CONFIG_ENABLE_HTTPS` (enabled by default)..
The HTTP client supports SSL connections using **mbedtls**, with the **url** configuration starting with ``https`` scheme (or ``transport_type = HTTP_TRANSPORT_OVER_SSL``). HTTPS support can be configured via :ref:`CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS` (enabled by default).
.. note:: By providing information using HTTPS, the library will use the SSL transport type to connect to the server. If you want to verify server, then need to provide additional certificate in PEM format, and provide to ``cert_pem`` in ``esp_http_client_config_t``