CURL.SetOptionStreamDepends
---------------------------

Sets stream dependency on another CURL session.

| 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.SetOptionStreamDepends"; curl; OtherCURL ) 

**MBS**( **"CURL.SetOptionStreamDepends";** /\* Sets stream dependency on another CURL session. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$OtherCURL**) /\* The second CURL session handle.e.g. $curl2 \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Sets stream dependency on another CURL session.  
### See also

- [CURL.SetOptionStreamDependsE](CURLSetOptionStreamDependsE.md)
- [CURL.SetOptionStreamWeight](CURLSetOptionStreamWeight.md)

### Release notes

- **Version 16.3**
    - Deprecated CURL.SetOptionStreamDepends and CURL.SetOptionStreamDependsE functions.

Created 15th April 2018 , last changed 24th June 2026

  
[CURL.SetOptionSocks5GSSAPIService](CURLSetOptionSocks5GSSAPIService.md) - [CURL.SetOptionStreamDependsE](CURLSetOptionStreamDependsE.md)

[HTML Version](CURLSetOptionStreamDepends.shtml)