add http's timeout context

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228122 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2007-01-26 00:05:07 +00:00
parent 72740b64e1
commit 78de09265c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.68 $ -->
<!-- $Revision: 1.69 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@ -385,6 +385,14 @@ $result = file_get_contents('http://example.com/submit.php', false, $context);
</entry>
<entry>1.0</entry>
</row>
<row>
<entry><literal>timeout</literal></entry>
<entry>
Read timeout in seconds, specified by a <type>float</type> (e.g.
<literal>10.5</literal>). Added in PHP 5.2.1.
</entry>
<entry><link linkend="ini.default-socket-timeout">default_socket_timeout</link></entry>
</row>
</tbody>
</tgroup>
</table>