CURL.GetRedirectTime
--------------------

Queries redirect time.

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

MBS( "CURL.GetRedirectTime"; curl ) 

**MBS**( **"CURL.GetRedirectTime";** /\* Queries redirect 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 redirect time.  
Get the total time, in seconds, it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started.   
CURL.GetRedirectTime contains the complete execution time for multiple redirections.  
### See also

- [CURL.GetConnectTime](CURLGetConnectTime.md)
- [CURL.GetRedirectCount](CURLGetRedirectCount.md)
- [CURL.GetRedirectURL](CURLGetRedirectURL.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.GetRedirectCount](CURLGetRedirectCount.md) - [CURL.GetRedirectURL](CURLGetRedirectURL.md)

[HTML Version](CURLGetRedirectTime.shtml)