Requests_Transport::request_multiple()publicWP 1.0

Send multiple requests simultaneously

{} It's a method of the class: Requests_Transport{}

No Hooks.


Array. Array of Requests_Response objects (may contain Requests_Exception or string responses as well)


$Requests_Transport = new Requests_Transport();
$Requests_Transport->request_multiple( $requests, $options );
$requests(array) (required)
Request data (array of 'url', 'headers', 'data', 'options') as per Requests_Transport::request()
$options(array) (required)
Global options, see {@see Requests::response()} for documentation

Code of Requests_Transport::request_multiple() WP 6.0

public function request_multiple($requests, $options);