Returns information about the last transfer, <parameter>opt</parameter> may be one of the following:
<itemizedlist>
<listitem>
<simpara>
"CURLINFO_EFFECTIVE_URL" - Last effective URL
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_HTTP_CODE" - Last received HTTP code
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_FILETIME" - Remote time of the retrieved document, if -1 is returned the time of the document is unknown
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_TOTAL_TIME" - Total transaction time in seconds for last transfer
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_NAMELOOKUP_TIME" - Time in seconds until name resolving was complete
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_CONNECT_TIME" - Time in seconds it took to establish the connection
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_PRETRANSFER_TIME" - Time in seconds from start until just before file transfer begins
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_STARTTRANSFER_TIME" - Time in seconds until the first byte is about to be transfered
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_REDIRECT_TIME" - Time in seconds of all redirection steps before final transaction was started
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_SIZE_UPLOAD" - Total number of bytes uploaded
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_SIZE_DOWNLOAD" - Total number of bytes downloaded
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_SPEED_DOWNLOAD" - Average download speed
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_SPEED_UPLOAD" - Average upload speed
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_HEADER_SIZE" - Total size of all headers received
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_REQUEST_SIZE" - Total size of issued requests, currently only for HTTP requests
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_SSL_VERIFYRESULT" - Result of SSL certification verification requested by setting CURLOPT_SSL_VERIFYPEER
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_CONTENT_LENGTH_DOWNLOAD" - content-length of download, read from Content-Length: field
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_CONTENT_LENGTH_UPLOAD" - Specified size of upload
</simpara>
</listitem>
<listitem>
<simpara>
"CURLINFO_CONTENT_TYPE" - Content-type of downloaded object, NULL indicates server did not send valid Content-Type: header
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
If called without the optional parameter opt an assoctive array is returned with the following array elements which correspond to <parameter>opt</parameter> options: