⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classphttpconnectioninfo.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PHTTPConnectionInfo class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PHTTPConnectionInfo Class Reference</h1><code>#include &lt;<a class="el" href="http_8h-source.html">http.h</a>&gt;</code><p><p>Inheritance diagram for PHTTPConnectionInfo:<p><center><img src="classPHTTPConnectionInfo.png" usemap="#PHTTPConnectionInfo_map" border="0" alt=""></center><map name="PHTTPConnectionInfo_map"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,136,24"></map><a href="classPHTTPConnectionInfo-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a0">PHTTPConnectionInfo</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a1">GetCommandCode</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a2">GetCommandName</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPURL.html">PURL</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a3">GetURL</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a4">GetMIME</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a5">SetMIME</a> (const <a class="el" href="classPString.html">PString</a> &amp;tag, const <a class="el" href="classPString.html">PString</a> &amp;value)</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a6">IsCompatible</a> (int major, int minor) const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a7">IsPersistant</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a8">WasPersistant</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a9">IsProxyConnection</a> () const</td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a10">GetMajorVersion</a> () const</td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a11">GetMinorVersion</a> () const</td></tr><tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a12">GetEntityBodyLength</a> () const</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPTimeInterval.html">PTimeInterval</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a13">GetPersistenceTimeout</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a14">SetPersistenceTimeout</a> (const <a class="el" href="classPTimeInterval.html">PTimeInterval</a> &amp;t)</td></tr><tr><td nowrap align=right valign=top>unsigned&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a15">GetPersistenceMaximumTransations</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a16">SetPersistenceMaximumTransations</a> (unsigned m)</td></tr><tr><td nowrap align=right valign=top>const PMultipartFormInfoArray &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a17">GetMultipartFormInfo</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a18">ResetMultipartFormInfo</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a19">GetEntityBody</a> () const</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#b0">Initialise</a> (<a class="el" href="classPHTTPServer.html">PHTTPServer</a> &amp;server, <a class="el" href="classPString.html">PString</a> &amp;args)</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#b1">DecodeMultipartFormInfo</a> (const <a class="el" href="classPString.html">PString</a> &amp;type, const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPHTTPConnectionInfo.html#n9">entityBody</a>)</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n0">commandCode</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n1">commandName</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPURL.html">PURL</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n2">url</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPMIMEInfo.html">PMIMEInfo</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n3">mimeInfo</a></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n4">isPersistant</a></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n5">wasPersistant</a></td></tr><tr><td nowrap align=right valign=top>BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n6">isProxyConnection</a></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n7">majorVersion</a></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n8">minorVersion</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n9">entityBody</a></td></tr><tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n10">entityBodyLength</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPTimeInterval.html">PTimeInterval</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n11">persistenceTimeout</a></td></tr><tr><td nowrap align=right valign=top>unsigned&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n12">persistenceMaximum</a></td></tr><tr><td nowrap align=right valign=top>PMultipartFormInfoArray&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n13">multipartFormInfoArray</a></td></tr><tr><td colspan=2><br><h2>Friends</h2></td></tr><tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#l0">PHTTPServer</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This object describes the connectiono associated with a HyperText Transport Protocol request. This information is required by handler functions on PHTTPResource# descendant classes to manage the connection correctly. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PHTTPConnectionInfo::PHTTPConnectionInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PHTTPConnectionInfo::PHTTPConnectionInfo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="b1" doxytag="PHTTPConnectionInfo::DecodeMultipartFormInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void PHTTPConnectionInfo::DecodeMultipartFormInfo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>type</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>entityBody</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a1" doxytag="PHTTPConnectionInfo::GetCommandCode"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a> PHTTPConnectionInfo::GetCommandCode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a2" doxytag="PHTTPConnectionInfo::GetCommandName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const <a class="el" href="classPString.html">PString</a>&amp; PHTTPConnectionInfo::GetCommandName </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a19" doxytag="PHTTPConnectionInfo::GetEntityBody"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PHTTPConnectionInfo::GetEntityBody </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a12" doxytag="PHTTPConnectionInfo::GetEntityBodyLength"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> long PHTTPConnectionInfo::GetEntityBodyLength </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a10" doxytag="PHTTPConnectionInfo::GetMajorVersion"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int PHTTPConnectionInfo::GetMajorVersion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a4" doxytag="PHTTPConnectionInfo::GetMIME"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a>&amp; PHTTPConnectionInfo::GetMIME </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a11" doxytag="PHTTPConnectionInfo::GetMinorVersion"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int PHTTPConnectionInfo::GetMinorVersion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a17" doxytag="PHTTPConnectionInfo::GetMultipartFormInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const PMultipartFormInfoArray&amp; PHTTPConnectionInfo::GetMultipartFormInfo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a15" doxytag="PHTTPConnectionInfo::GetPersistenceMaximumTransations"></a><p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -