1 # object http\Client::getTransferInfo(http\Client\Request $request)
3 Get transfer related informatioin for a running or finished request.
7 * http\Client\Request $request
8 The request to probe for transfer info.
12 * object, stdClass instance holding transfer related information.
16 * http\Exception\InvalidArgumentException
17 * http\Exception\UnexpectedValueException
21 The transfer info might look as follows:
23 object(stdClass)#6 (36) {
25 string(16) "https://php.net/"
34 ["pretransfer_time"]=>
48 ["ssl_verifyresult"]=>
52 ["content_length_download"]=>
54 ["content_length_upload"]=>
56 ["starttransfer_time"]=>
59 string(29) "text/html; charset=iso-8859-1"
87 string(15) "http://php.net/"
89 string(11) "72.52.91.14"
97 string(13) "192.168.1.120"