Zend\Http\Client::doRequest
Separating this from send method allows subclasses to wrap the interaction with the adapter
Signature
protected function doRequest(Http
$uri,
[string
$method = false,
[bool
$secure = false,
[array
$headers = '',
[string
$body = '']]]] )
Parameters
$uri
— Zend\Uri\Http
$method
— string$secure
— object
$headers
— array$body
— string
Returns
- string
- the raw response