mdref.json config
[mdref/mdref-http] / http / Client / getTransferInfo.md
index 30d5cc90fbaf7ffec3321a95d1eeb44bb4003ea9..84059da5793c8d5e5bf2893a0ed4de2e6801eaa6 100644 (file)
@@ -1,6 +1,6 @@
 # object http\Client::getTransferInfo(http\Client\Request $request)
 
-Get transfer related informatioin for a running or finished request.
+Get transfer related information for a running or finished request.
 
 ## Params:
 
@@ -13,13 +13,14 @@ Get transfer related informatioin for a running or finished request.
 
 ## Throws:
 
-* http\Exception.
+* http\Exception\InvalidArgumentException
+* http\Exception\UnexpectedValueException
 
 ## Example:
 
 The transfer info might look as follows:
 
-    object(stdClass)#6 (36) {
+    object(stdClass)#6 (37) {
       ["effective_url"]=>
       string(16) "https://php.net/"
       ["response_code"]=>
@@ -79,9 +80,6 @@ The transfer info might look as follows:
         [2]=>
         string(7) "dynamic"
       }
-      ["cookies"]=>
-      array(0) {
-      }
       ["redirect_url"]=>
       string(15) "http://php.net/"
       ["primary_ip"]=>
@@ -99,6 +97,8 @@ The transfer info might look as follows:
       ["certinfo"]=>
       array(0) {
       }
+      ["curlcode"]=>
+      int(0)
       ["error"]=>
       string(0) ""
     }