CURL.GetConnectTime
-------------------

Queries connect time.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetConnectTime"; curl ) 

**MBS**( **"CURL.GetConnectTime";** /\* Queries connect time. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### 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 connect to the remote host (or proxy) was completed.  
### Examples

Show time:

 Show Custom Dialog \[ "Connect Time in seconds" ; MBS ( "CURL.GetConnectTime"; $curl ) \]  
### See also

- [CURL.GetAppConnectTime](CURLGetAppConnectTime.md)
- [CURL.GetContentType](CURLGetContentType.md)
- [CURL.GetRedirectTime](CURLGetRedirectTime.md)

### Example Databases

- [CURL/CURL Download Picture](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20Picture.shtml#1ScriptAnchor_)

This function checks for a license.

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

  
[CURL.GetConditionUnmet](CURLGetConditionUnmet.md) - [CURL.GetContentLengthDownload](CURLGetContentLengthDownload.md)

[HTML Version](CURLGetConnectTime.shtml)