Zend\Http\Client\Adapter\AdapterInterface::write
Send request to the remote server
Signature
public function write(string
$method,
[Uri
$url = '1.1',
[string
$httpVer = '1.1',
[array
$headers = '',
[string
$body = '']]]] )
Parameters
$method
— string$url
— object
$httpVer
— string$headers
— array$body
— string
Returns
- string
- Request as text