CURL.SetOptionRTSPRequest
-------------------------

RTSP request method (OPTIONS, SETUP, PLAY, etc...)

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

MBS( "CURL.SetOptionRTSPRequest"; curl; Value ) 

**MBS**( **"CURL.SetOptionRTSPRequest";** /\* RTSP request method (OPTIONS, SETUP, PLAY, etc...) \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* The option value. \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

RTSP request method (OPTIONS, SETUP, PLAY, etc...)  
See also [RTSP\_REQUEST](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html) option in CURL manual.

### See also

- [CURL.GetOptionCustomRequest](CURLGetOptionCustomRequest.md)
- [CURL.SetOptionCustomRequest](CURLSetOptionCustomRequest.md)
- [CURL.SetOptionFTPUsePret](CURLSetOptionFTPUsePret.md)
- [CURL.SetOptionHTTPHeader](CURLSetOptionHTTPHeader.md)

Created 15th April 2018 , last changed 16th April 2018

  
[CURL.SetOptionRTSPClientCSEQ](CURLSetOptionRTSPClientCSEQ.md) - [CURL.SetOptionRTSPServerCSEQ](CURLSetOptionRTSPServerCSEQ.md)

[HTML Version](CURLSetOptionRTSPRequest.shtml)