WordPress at a glance
function is not described

Requests_Transport::request() public WP 1.0

Perform a request

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

No Hooks.

Return

String. Raw HTTP result

Usage

$Requests_Transport = new Requests_Transport();
$Requests_Transport->request( $url, $headers, $data, $options );
$url(string) (required)
URL to request
$headers(array)
Associative array of request headers
Default: array()
$data(string/array)
Data to send either as the POST body, or as parameters in the URL for a GET/HEAD
Default: array()
$options(array)
Request options, see {@see Requests::response()} for documentation
Default: array()

Code of Requests_Transport::request() WP 5.5.1

<?php
public function request($url, $headers = array(), $data = array(), $options = array());