mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document Context options for http(s) wrapper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@122795 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
59071ec3b5
commit
b4ed63889a
1 changed files with 37 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<appendix id="wrappers">
|
||||
<title>List of Supported Protocols/Wrappers</title>
|
||||
<para>
|
||||
|
@ -50,6 +50,42 @@
|
|||
have compiled in support for OpenSSL.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
<table>
|
||||
<title>Context options</title>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Name</entry>
|
||||
<entry>Usage</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><literal>method</literal></entry>
|
||||
<entry><constant>GET</constant> or <constant>POST</constant>
|
||||
(defaults to <constant>GET</constant>).
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>header</literal></entry>
|
||||
<entry>Additional headers to be sent during request. Values
|
||||
in this option will override other values (such as
|
||||
<literal>User-agent:</literal>, <literal>Host:</literal>,
|
||||
and <literal>Authentication:</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>content</literal></entry>
|
||||
<entry>
|
||||
Additional data to be sent after the headers. Typically used
|
||||
with POST requests.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id="wrappers.ftp">
|
||||
|
|
Loading…
Reference in a new issue