Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Persistent Connection allows to send multiple HTTP requests one after the other on the same open connection before closing it.

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 Transaction Complete callback must be set up to retrieve the HTTP response.

  • No labels