From: Chandru <cha...@us...> - 2008-05-21 15:28:28
|
Update of /cvsroot/jungerl/jungerl/lib/ibrowse/doc In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv16700/doc Modified Files: ibrowse.html Log Message: ibrowse was not reading all the options from its config file. Index: ibrowse.html =================================================================== RCS file: /cvsroot/jungerl/jungerl/lib/ibrowse/doc/ibrowse.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ibrowse.html 27 Mar 2008 01:35:49 -0000 1.6 +++ ibrowse.html 21 May 2008 15:28:11 -0000 1.7 @@ -181,10 +181,13 @@ <h3 class="function"><a name="send_req-4">send_req/4</a></h3> <div class="spec"> <p><tt>send_req(Url, Headers, Method::<a href="#type-method">method()</a>, Body::<a href="#type-body">body()</a>) -> <a href="#type-response">response()</a></tt> -<ul class="definitions"><li><tt><a name="type-body">body()</a> = [] | string() | binary()</tt></li> +<ul class="definitions"><li><tt><a name="type-body">body()</a> = [] | string() | binary() | <a href="#type-fun_arity_0">fun_arity_0()</a> | {<a href="#type-fun_arity_1">fun_arity_1()</a>, <a href="#type-initial_state">initial_state()</a>}</tt></li> +<li><tt><a name="type-initial_state">initial_state()</a> = term()</tt></li> </ul></p> </div><p>Same as send_req/3. - If a list is specified for the body it has to be a flat list.</p> + If a list is specified for the body it has to be a flat list. The body can also be a fun/0 or a fun/1. <br> + If fun/0, the connection handling process will repeatdely call the fun until it returns an error or eof. <pre>Fun() = {ok, Data} | eof</pre><br> + If fun/1, the connection handling process will repeatedly call the fun with the supplied state until it returns an error or eof. <pre>Fun(State) = {ok, Data} | {ok, Data, NewState} | eof</pre></p> <h3 class="function"><a name="send_req-5">send_req/5</a></h3> <div class="spec"> @@ -354,6 +357,6 @@ <hr> <div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div> -<p><i>Generated by EDoc, Mar 27 2008, 01:03:49.</i></p> +<p><i>Generated by EDoc, Mar 27 2008, 01:20:55.</i></p> </body> </html> |