2. curl::init

[<<<] [>>>]

Call this function before any other curl action. This function will return a handle to the curl session. This handle should be used as first argument to any further curl calls.

Usage:

CURL = curl::init()

The handle that the function returns is a small integer. However the program should not alter this value in any way. The good practice is to store the value in a variable and use it as it is without caring about the real value or type of the content.

If the initialization of the connection can not be performed MEMORY_LOW error occurs.


[<<<] [>>>]