[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/curl/functions/_curl-getinfo.xml?=
From:       Jean-Sebastien_Hedde <jeanseb () php ! net>
Date:       2014-10-21 18:32:54
Message-ID: svn-jeanseb-1413916374-335116-857860950 () svn ! php ! net
[Download RAW message or body]

jeanseb                                  Tue, 21 Oct 2014 18:32:54 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=335116

Log:
Adds documentation for:
CURLINFO_REDIRECT_URL
CURLINFO_PRIMARY_IP
CURLINFO_PRIMARY_PORT
CURLINFO_LOCAL_IP
CURLINFO_LOCAL_PORT

Sources:
cURL doc: http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
PHP changelog: http://php.net/ChangeLog-5.php

--
Provided by anonymous 50443 (francois.bonzon@gmail.com)

Changed paths:
    U   phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml

Modified: phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml	2014-10-21 18:30:49 UTC \
                (rev 335115)
+++ phpdoc/en/trunk/reference/curl/functions/curl-getinfo.xml	2014-10-21 18:32:54 UTC \
(rev 335116) @@ -71,16 +71,41 @@
         </listitem>
         <listitem>
          <simpara>
-          <constant>CURLINFO_REDIRECT_COUNT</constant> - Number of redirects
+          <constant>CURLINFO_REDIRECT_COUNT</constant> - Number of redirects, with \
the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled  </simpara>
         </listitem>
         <listitem>
          <simpara>
-          <constant>CURLINFO_REDIRECT_TIME</constant> - Time in seconds of all \
redirection steps before final transaction was started +          \
<constant>CURLINFO_REDIRECT_TIME</constant> - Time in seconds of all redirection \
steps before final transaction was started, with the \
<constant>CURLOPT_FOLLOWLOCATION</constant> option enabled  </simpara>
         </listitem>
         <listitem>
          <simpara>
+          <constant>CURLINFO_REDIRECT_URL</constant> - URL of final transaction, \
with the <constant>CURLOPT_FOLLOWLOCATION</constant> option enabled +         \
</simpara> +        </listitem>
+        <listitem>
+         <simpara>
+          <constant>CURLINFO_PRIMARY_IP</constant> - IP address of the most recent \
connection +         </simpara>
+        </listitem>
+        <listitem>
+         <simpara>
+          <constant>CURLINFO_PRIMARY_PORT</constant> - Destination port of the most \
recent connection +         </simpara>
+        </listitem>
+        <listitem>
+         <simpara>
+          <constant>CURLINFO_LOCAL_IP</constant> - Local (source) IP address of the \
most recent connection +         </simpara>
+        </listitem>
+        <listitem>
+         <simpara>
+          <constant>CURLINFO_LOCAL_PORT</constant> - Local (source) port of the most \
recent connection +         </simpara>
+        </listitem>
+        <listitem>
+         <simpara>
           <constant>CURLINFO_SIZE_UPLOAD</constant> - Total number of bytes uploaded
          </simpara>
         </listitem>
@@ -258,6 +283,31 @@
     </listitem>
     <listitem>
      <simpara>
+      "primary_ip"
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      "primary_port"
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      "local_ip"
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      "local_port"
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      "redirect_url"
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
       "request_header" (This is only set if the \
<constant>CURLINFO_HEADER_OUT</constant>  is set by a previous call to \
<function>curl_setopt</function>)  </simpara>
@@ -279,6 +329,12 @@
      </thead>
      <tbody>
       <row>
+       <entry>5.3.7</entry>
+       <entry>
+        Introduced <constant>CURLINFO_REDIRECT_URL</constant>.
+       </entry>
+      </row>
+      <row>
        <entry>5.1.3</entry>
        <entry>
         Introduced <constant>CURLINFO_HEADER_OUT</constant>.



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic