Title: Requests_Proxy_HTTP::curl_before_send
Published: August 16, 2016
Last modified: November 2, 2022

---

# Requests_Proxy_HTTP::curl_before_send( resource $handle )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#wp--skip-link--target)

Set cURL parameters before the data is sent

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#parameters)󠁿

 `$handle`resourcerequired

cURL resource

## 󠀁[Source](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#source)󠁿

[View all references](https://developer.wordpress.org/reference/files/wp-includes/requests/proxy/http.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/Requests/Proxy/HTTP.php#L101)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/requests_proxy_http/curl_before_send/?output_format=md#changelog)󠁿

| Version | Description | 
| [1.6](https://developer.wordpress.org/reference/since/1.6/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Frequests_proxy_http%2Fcurl_before_send%2F)
before being able to contribute a note or feedback.