<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>TQHttpRequestHeader Class Reference<br><small>[<ahref="network.html">network module</a>]</small></h1>
<p>The TQHttpRequestHeader class contains request header information for
<p><p>See also <ahref="qhttpresponseheader.html">TQHttpResponseHeader</a>, <ahref="ntqhttp.html">TQHttp</a>, and <ahref="io.html">Input/Output and Networking</a>.
Returns the major protocol-version of the HTTP request header.
<p><p>See also <ahref="#minorVersion">minorVersion</a>(), <ahref="#method">method</a>(), <ahref="#path">path</a>(), and <ahref="#setRequest">setRequest</a>().
<p>Reimplemented from <ahref="qhttpheader.html#majorVersion">TQHttpHeader</a>.
<p><p>See also <ahref="#path">path</a>(), <ahref="#majorVersion">majorVersion</a>(), <ahref="#minorVersion">minorVersion</a>(), and <ahref="#setRequest">setRequest</a>().
Returns the minor protocol-version of the HTTP request header.
<p><p>See also <ahref="#majorVersion">majorVersion</a>(), <ahref="#method">method</a>(), <ahref="#path">path</a>(), and <ahref="#setRequest">setRequest</a>().
<p>Reimplemented from <ahref="qhttpheader.html#minorVersion">TQHttpHeader</a>.
Returns the request-URI of the HTTP request header.
<p><p>See also <ahref="#method">method</a>(), <ahref="#majorVersion">majorVersion</a>(), <ahref="#minorVersion">minorVersion</a>(), and <ahref="#setRequest">setRequest</a>().
This function sets the request method to <em>method</em>, the
request-URI to <em>path</em> and the protocol-version to <em>majorVer</em> and
<em>minorVer</em>.
<p><p>See also <ahref="#method">method</a>(), <ahref="#path">path</a>(), <ahref="#majorVersion">majorVersion</a>(), and <ahref="#minorVersion">minorVersion</a>().
Sets the value of the entry with the <em>key</em> to <em>value</em>.
<p> If no entry with <em>key</em> exists, a new entry with the given <em>key</em>
and <em>value</em> is created. If an entry with the <em>key</em> already
exists, its value is discarded and replaced with the given <em>value</em>.
<p><p>See also <ahref="qhttpheader.html#value">value</a>(), <ahref="qhttpheader.html#hasKey">hasKey</a>(), and <ahref="qhttpheader.html#removeValue">removeValue</a>().
Returns the value for the entry with the given <em>key</em>. If no entry
has this <em>key</em>, an empty string is returned.
<p><p>See also <ahref="qhttpheader.html#setValue">setValue</a>(), <ahref="qhttpheader.html#removeValue">removeValue</a>(), <ahref="qhttpheader.html#hasKey">hasKey</a>(), and <ahref="qhttpheader.html#keys">keys</a>().
<!-- eof -->
<hr><p>
This file is part of the <ahref="index.html">TQt toolkit</a>.