Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.GetAppConnectTime

Queries connect time.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.GetAppConnectTime"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns the requested value or nothing on error.

Description

Queries connect time.
Get the time, in seconds, it took from the start until the SSL/SSH connect/handshake to the remote host was completed.
This time is most often very near to the PRETRANSFER time, except for cases such as HTTP pippelining where the pretransfer time can be delayed due to waits in line for the pipeline and more.

Examples

Show time:

Show Custom Dialog [ "Connect App Time in seconds" ; MBS( "CURL.GetAppConnectTime"; $curl ) ]

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 21st June 2021


CURL.GetActiveSocket - CURL.GetBatchCurrentFileName