summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2005-09-14 20:40:44 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2005-09-14 20:40:44 +0000
commit4e3e93facc0cd273d7ea4a5a5cc43ae715f6e5b6 (patch)
tree163c4577f67b3143c7aafce34074ee9ba0fffc10 /doc
parent84fdd9bbc466f5433822a35bab4c634c8797d04c (diff)
downloadneon-4e3e93facc0cd273d7ea4a5a5cc43ae715f6e5b6.tar.gz
* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@695 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'doc')
-rw-r--r--doc/ref/opts.xml25
1 files changed, 13 insertions, 12 deletions
diff --git a/doc/ref/opts.xml b/doc/ref/opts.xml
index fe8f368..2664085 100644
--- a/doc/ref/opts.xml
+++ b/doc/ref/opts.xml
@@ -9,8 +9,9 @@
<refname id="ne_set_useragent">ne_set_useragent</refname>
<refname id="ne_set_persist">ne_set_persist</refname>
<refname id="ne_set_read_timeout">ne_set_read_timeout</refname>
- <refname id="ne_set_expect100">ne_set_expect100</refname>
- <refpurpose>common settings for HTTP sessions</refpurpose>
+ <refname id="ne_get_scheme">ne_get_scheme</refname>
+ <refname id="ne_get_server_hostport">ne_get_server_hostport</refname>
+ <refpurpose>common properties for HTTP sessions</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -38,13 +39,6 @@
</funcprototype>
<funcprototype>
- <funcdef>void <function>ne_set_expect100</function></funcdef>
- <paramdef>ne_session *<parameter>session</parameter></paramdef>
- <paramdef>int <parameter>flag</parameter></paramdef>
- </funcprototype>
-
-<!--
- <funcprototype>
<funcdef>const char *<function>ne_get_scheme</function></funcdef>
<paramdef>ne_sesssion *<parameter>session</parameter></paramdef>
</funcprototype>
@@ -53,7 +47,6 @@
<funcdef>const char *<function>ne_get_server_hostport</function></funcdef>
<paramdef>ne_sesssion *<parameter>session</parameter></paramdef>
</funcprototype>
--->
</funcsynopsis>
@@ -62,8 +55,6 @@
<refsect1>
<title>Description</title>
- <!-- TODO: intro para? -->
-
<para>The <literal>User-Agent</literal> request header is used
to identify the software which generated the request for statistical
or debugging purposes. neon does not send a
@@ -105,6 +96,16 @@ timeout. It is highly recommended that this option is not enabled
unless it is known that the server in use correctly implements
<literal>Expect: 100-continue</literal> support.</para></warning>
+ <para>The scheme used to initially create the session will be
+ returned by <function>ne_get_scheme</function>.</para>
+
+ <para>The hostport pair with which the session is associated
+ will be returned by the
+ <function>ne_get_server_hostport</function>; for example
+ <literal>www.example.com:8080</literal>. Note that the
+ <literal>:port</literal> will be omitted if the default port
+ for the scheme is used.</para>
+
</refsect1>
<refsect1>