Persistent Connection allows to send multiple HTTP requests one after the other on the same open connection before closing it. For more details, refer to section Persistent Connection in the HTTP Reference Guide.
Example
In this example, two HTTP requests are queued on an HTTP Connection before the client closes the connection.
The function HTTPc_ReqSend is called with the flag HTTPc_FLAG_REQ_NO_BLOCK
, so the function is not blocking and will return before the transaction is complete. Therefore the On Transaction Complete callback must hook must be set up to retrieve the HTTP response.