Requests_Transport_cURL::setup_handle( string $url, array $headers, string|array $data, array $options )
Setup the cURL handle for the given data
Contents
Parameters
-
$url
string Required -
URL to request
-
$headers
array Required -
Associative array of request headers
-
$data
string|array Required -
Data to send either as the POST body, or as parameters in the URL for a GET/HEAD
-
$options
array Required -
Request options, see Requests::response() for documentation
Source
File: wp-includes/Requests/Transport/cURL.php
.
View all references