X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FClient%2FgetTransferInfo.md;h=84059da5793c8d5e5bf2893a0ed4de2e6801eaa6;hb=9620c25e36f35fce0b77dedeedd97b6125b257ed;hp=30d5cc90fbaf7ffec3321a95d1eeb44bb4003ea9;hpb=a9966e91a49824155b1d9b3b3a580d43b20e3662;p=mdref%2Fmdref-http diff --git a/http/Client/getTransferInfo.md b/http/Client/getTransferInfo.md index 30d5cc9..84059da 100644 --- a/http/Client/getTransferInfo.md +++ b/http/Client/getTransferInfo.md @@ -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) "" }