httpd_sess_trigger_close_() function
Trigger an httpd session close externally
Arguments
handle
Handle to server returned by httpd_start
session
Session to be closed
Return value
- ESP_OK : On successfully initiating closure - ESP_FAIL : Failure to queue work - ESP_ERR_NOT_FOUND : Socket fd not found - ESP_ERR_INVALID_ARG : Null arguments
Notes
Calling this API is only required in special circumstances wherein some application requires to close an httpd client session asynchronously.