The t_httpc_next_request_cb definition specifies the format of the callback function that is called when a new request can be sent on a keep-alive connection.


typedef t_httpc_ret ( * t_httpc_next_request_cb )( 
    uint16_t   http_req_hdl,
    uint16_t   http_conn_hdl )


Parameter Description Type
http_req_hdl The handle of the current request. uint16_t
http_conn_hdl The handle of the connection that was closed. uint16_t

Return Codes

Code Description
HTTPC_SUCCESS Successful execution.
HTTPC_ERROR Operation failed.