CURL.GetProtocol
----------------

Queries protocol used.

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

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "CURL.GetProtocol"; curl ) 

**MBS**( **"CURL.GetProtocol";** /\* Queries protocol used. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns number or error.

### Description

Queries protocol used.  
### See also

- [CURL.Protocols](CURLProtocols.md)
- [CURL.SetOptionProtocolsString](CURLSetOptionProtocolsString.md)

### Release notes

- **Version 13.0**
    - Deprecated [CURL.GetProtocol](https://www.mbsplugins.eu/CURLGetProtocol.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 13.0pr5](https://www.mbsplugins.de/archive/2023-01-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 15th April 2018 , last changed 21st December 2022

  
[CURL.GetProgressTotalUpload](CURLGetProgressTotalUpload.md) - [CURL.GetProxyAuthAvail](CURLGetProxyAuthAvail.md)

[HTML Version](CURLGetProtocol.shtml)