1 http_system.inc public BackdropHTTPSystemInterface::request($url, array $options)

Parameters

string $url: A string containing a fully qualified URI.

array $options: An array of options adjusting the behavior of the request. This array of options matches backdrop_http_request().

Return value

stdClass: An object with the returned data from the request. This object should match that returned by backdrop_http_request().

See also

backdrop_http_request().

File

core/includes/http_system.inc, line 36
Contains classes and interfaces related to implementing alternative HTTP request systems. By default, backdrop_http_request() will execute its own requests, but this can be replaced by an alternative system if desired by specifying an alternative in…

Class

BackdropHTTPSystemInterface
Defines the BackdropHTTPSystemInterface class interface.

Code

public function request($url, array $options);