Merge branch 'contrib/github_pr_16118' into 'master'

docs(esp_transport_ws): fix parameter name documentat (GitHub PR)

See merge request espressif/esp-idf!39827
This commit is contained in:
Rocha Euripedes
2025-06-13 14:01:42 +08:00

View File

@@ -79,7 +79,7 @@ esp_err_t esp_transport_ws_set_subprotocol(esp_transport_handle_t t, const char
* @brief Set websocket user-agent header * @brief Set websocket user-agent header
* *
* @param t websocket transport handle * @param t websocket transport handle
* @param sub_protocol user-agent string * @param user_agent user-agent string
* *
* @return * @return
* - ESP_OK on success * - ESP_OK on success
@@ -91,7 +91,7 @@ esp_err_t esp_transport_ws_set_user_agent(esp_transport_handle_t t, const char *
* @brief Set websocket additional headers * @brief Set websocket additional headers
* *
* @param t websocket transport handle * @param t websocket transport handle
* @param sub_protocol additional header strings each terminated with \r\n * @param headers additional header strings each terminated with \r\n
* *
* @return * @return
* - ESP_OK on success * - ESP_OK on success
@@ -103,7 +103,7 @@ esp_err_t esp_transport_ws_set_headers(esp_transport_handle_t t, const char *hea
* @brief Set websocket authorization headers * @brief Set websocket authorization headers
* *
* @param t websocket transport handle * @param t websocket transport handle
* @param sub_protocol The HTTP authorization header string, set NULL to clear the old value * @param auth The HTTP authorization header string, set NULL to clear the old value
* *
* @return * @return
* - ESP_OK on success * - ESP_OK on success