The t_httpc_conn_closed_cb definition specifies the format of the callback function that is called when a TCP connection is closed.


typedef t_httpc_ret ( * t_httpc_conn_closed_cb )uint16_t                  http_conn_hdl,
    const t_httpc_close_ntf   ntf )


Parameter Description Type
http_conn_hdl The handle of the connection that was closed. uint16_t
ntf The notification showing the reason that the connection was closed. t_httpc_close_ntf

Return Codes

Code Description
HTTPC_SUCCESS Successful execution.
HTTPC_ERROR Operation failed.