Solar_Http_Request_Adapter_Stream::_fetch()
protected
array
Solar_Http_Request_Adapter_Stream::_fetch
( string $uri
, array $headers
, string $content
)
Support method to make the request, then return headers and content.
Parameters
(string)
$uri
: The URI get a response from.(array)
$headers
: A sequential array of header lines for the request.(string)
$content
: A string of content for the request.
Returns
(array) A sequential array where element 0 is a sequential array of header lines, and element 1 is the body content.
Description
Support method to make the request, then return headers and content.