cvs: peardoc /en/package/http/http-download staticsend.xml

From: Date: Tue, 31 Aug 2004 17:22:29 +0000
Subject: cvs: peardoc /en/package/http/http-download staticsend.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4811@lists.php.net to get a copy of this message
mike Tue Aug 31 13:22:29 2004 EDT Modified files: /peardoc/en/package/http/http-download staticsend.xml Log: * updated staticSend() also http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/staticsend.xml?r1=1.6&r2=1.7&ty=u Index: peardoc/en/package/http/http-download/staticsend.xml diff -u peardoc/en/package/http/http-download/staticsend.xml:1.6 peardoc/en/package/http/http-download/staticsend.xml:1.7 --- peardoc/en/package/http/http-download/staticsend.xml:1.6 Mon Jul 19 14:53:21 2004 +++ peardoc/en/package/http/http-download/staticsend.xml Tue Aug 31 13:22:29 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="package.http.http-download.staticsend"> <refnamediv> <refname><function>HTTP_Download::staticSend</function></refname> @@ -103,6 +103,18 @@ - content disposition </para> </listitem> + <listitem> + <para> + <parameter>$params['buffersize']</parameter> + - amount of bytes read at once from files or resources + </para> + </listitem> + <listitem> + <para> + <parameter>$params['throttledelay']</parameter> + - amount of seconds to sleep after each chunk that has been sent + </para> + </listitem> </itemizedlist> </para> </listitem> @@ -121,14 +133,23 @@ </listitem> </itemizedlist> </para> + </refsect1> + + <refsect1 id="package.http.http-download.staticsend.see"> + &title.see; <para> - &quot;Content-Disposition&quot; is not HTTP compliant, - but most browsers follow this header, - so it was borrowed from MIME standard. - </para> - <para> - It looks like this: - &quot;Content-Disposition: attachment; filename=example.tgz&quot;. + See also + <link linkend="package.http.http-download.setfile"><function>setFile</function></link>, + <link linkend="package.http.http-download.setdata"><function>setData</function></link>, + <link linkend="package.http.http-download.setresource"><function>setResource</function></link>, + <link linkend="package.http.http-download.setgzip"><function>setGzip</function></link>, + <link linkend="package.http.http-download.setcache"><function>setCache</function></link>, + <link linkend="package.http.http-download.setcontenttype"><function>setContentType</function></link>, + <link linkend="package.http.http-download.setlastmodified"><function>setLastModified</function></link>, + <link linkend="package.http.http-download.setcontentdisposition"><function>setContentDisposition</function></link>, + <link linkend="package.http.http-download.setbuffersize"><function>setBufferSize</function></link>, + <link linkend="package.http.http-download.setthrottledelay"><function>setThrottleDelay</function></link>, + <link linkend="package.http.http-download.setparams"><function>HTTP_Download::setParams</function></link>. </para> </refsect1>

« previous php.pear.doc (#4811) next »